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 <noreply@anthropic.com>
This commit is contained in:
Eduard Wisch 2026-02-23 11:12:25 +01:00
parent ac1ffa07f6
commit 82e28f9bd7

View file

@ -75,6 +75,9 @@ class ActionsGlobalNotify extends CommonHookActions
$langs->load('globalnotify@globalnotify'); $langs->load('globalnotify@globalnotify');
// Check for stuck cron jobs on each page load (with caching)
$this->checkStuckCronJobs();
$notify = new GlobalNotify($this->db); $notify = new GlobalNotify($this->db);
$unreadNotifications = $notify->getAllNotifications($user->id, true); $unreadNotifications = $notify->getAllNotifications($user->id, true);
$readNotifications = $notify->getReadNotifications($user->id, 20); $readNotifications = $notify->getReadNotifications($user->id, 20);