diff options
-rw-r--r-- | apps/updatenotification/appinfo/app.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/updatenotification/appinfo/app.php b/apps/updatenotification/appinfo/app.php index 99df99ac7c9..9148b6e6ef7 100644 --- a/apps/updatenotification/appinfo/app.php +++ b/apps/updatenotification/appinfo/app.php @@ -34,8 +34,7 @@ if(\OC::$server->getConfig()->getSystemValue('updatechecker', true) === true) { if(\OC::$server->getGroupManager()->isAdmin($userObject->getUID()) && $updateChecker->getUpdateState() !== []) { \OCP\Util::addScript('updatenotification', 'notification'); OC_Hook::connect('\OCP\Config', 'js', $updateChecker, 'getJavaScript'); + \OC_App::registerAdmin('updatenotification', 'admin'); } } - - \OC_App::registerAdmin('updatenotification', 'admin'); } |