diff --git a/apps/updatenotification/appinfo/app.php b/apps/updatenotification/appinfo/app.php index e3010d418b..3e966fd127 100644 --- a/apps/updatenotification/appinfo/app.php +++ b/apps/updatenotification/appinfo/app.php @@ -33,7 +33,8 @@ if(\OC::$server->getConfig()->getSystemValue('updatechecker', true) === true) { $userObject = \OC::$server->getUserSession()->getUser(); if($userObject !== null) { - if(\OC::$server->getGroupManager()->isAdmin($userObject->getUID())) { + if(\OC::$server->getGroupManager()->isAdmin($userObject->getUID()) && + !\OC::$server->getAppManager()->isEnabledForUser('notifications')) { if($updateChecker->getUpdateState() !== []) { \OCP\Util::addScript('updatenotification', 'notification'); OC_Hook::connect('\OCP\Config', 'js', $updateChecker, 'getJavaScript');