diff --git a/lib/Listener/BeforeTemplateRenderedListener.php b/lib/Listener/BeforeTemplateRenderedListener.php index fd7c50baf..a9e0b8146 100644 --- a/lib/Listener/BeforeTemplateRenderedListener.php +++ b/lib/Listener/BeforeTemplateRenderedListener.php @@ -82,7 +82,10 @@ public function handle(Event $event): void { $this->jobList->add('OCA\FirstRunWizard\Notification\BackgroundJob', ['uid' => $this->userSession->getUser()->getUID()]); } - $this->appHint->sendAppHintNotifications(); + + if ($this->config->getSystemValueBool('appstoreenabled', true)) { + $this->appHint->sendAppHintNotifications(); + } Util::addScript(Application::APP_ID, 'about'); }