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:
parent
ac1ffa07f6
commit
82e28f9bd7
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue