From 82e28f9bd7b44549bea9a8c6900717f8c3b6d83d Mon Sep 17 00:00:00 2001 From: data Date: Mon, 23 Feb 2026 11:12:25 +0100 Subject: [PATCH] fix: Check stuck cron jobs in printTopRightMenu hook Der addMoreActionsButtons Hook wurde nicht aufgerufen - checkStuckCronJobs wird jetzt im printTopRightMenu aufgerufen. Co-Authored-By: Claude Opus 4.5 --- class/actions_globalnotify.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/class/actions_globalnotify.class.php b/class/actions_globalnotify.class.php index 31d671f..243d720 100644 --- a/class/actions_globalnotify.class.php +++ b/class/actions_globalnotify.class.php @@ -75,6 +75,9 @@ class ActionsGlobalNotify extends CommonHookActions $langs->load('globalnotify@globalnotify'); + // Check for stuck cron jobs on each page load (with caching) + $this->checkStuckCronJobs(); + $notify = new GlobalNotify($this->db); $unreadNotifications = $notify->getAllNotifications($user->id, true); $readNotifications = $notify->getReadNotifications($user->id, 20);