From bfcd66571d7d07095224fe35fc6e9c0b59b870f8 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 20 Dec 2022 21:32:34 +0100 Subject: [PATCH] set addXxxAction as public --- inc/class.dc.uninstaller.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/class.dc.uninstaller.php b/inc/class.dc.uninstaller.php index 4c4657f..20de787 100644 --- a/inc/class.dc.uninstaller.php +++ b/inc/class.dc.uninstaller.php @@ -191,12 +191,12 @@ class dcUninstaller * @param string $ns Name of setting related to module. * @param string $desc Description of action */ - protected function addUserAction($type, $action, $ns, $desc = '') + public function addUserAction($type, $action, $ns, $desc = '') { $this->addAction('user', $type, $action, $ns, $desc); } - protected function addDirectAction($type, $action, $ns, $desc = '') + public function addDirectAction($type, $action, $ns, $desc = '') { $this->addAction('direct', $type, $action, $ns, $desc); }