diff --git a/application/core/plugins/ComfortUpdateChecker/ComfortUpdateChecker.php b/application/core/plugins/ComfortUpdateChecker/ComfortUpdateChecker.php index a7a62b51192..97d7820611e 100644 --- a/application/core/plugins/ComfortUpdateChecker/ComfortUpdateChecker.php +++ b/application/core/plugins/ComfortUpdateChecker/ComfortUpdateChecker.php @@ -1,5 +1,4 @@ subscribe('beforeAdminMenuRender'); } @@ -88,7 +81,7 @@ public function beforeAdminMenuRender() $aMenuItems[] = (new \LimeSurvey\Menu\MenuItem($aMenuItemAdminOptions)); - $oNewMenu = new CUCMenuClass($aMenuItemAdminOptions); + $oNewMenu = new \ComfortUpdateChecker\helpers\CUCMenuClass($aMenuItemAdminOptions); //Check if display only for security update is true in plugin settings and display it otherwhise display all if ($this->get('only_security_update', null, null, false) && $update[key($update)]->security_update) { diff --git a/application/core/plugins/ComfortUpdateChecker/helpers/CUCMenuClass.php b/application/core/plugins/ComfortUpdateChecker/helpers/CUCMenuClass.php index 08d072d2add..4fca7518c8f 100644 --- a/application/core/plugins/ComfortUpdateChecker/helpers/CUCMenuClass.php +++ b/application/core/plugins/ComfortUpdateChecker/helpers/CUCMenuClass.php @@ -3,6 +3,8 @@ /** * Extending the basic menu class with an icon in front of the label */ +namespace ComfortUpdateChecker\helpers; + class CUCMenuClass extends \LimeSurvey\Menu\Menu { public function getLabel()