diff options
Diffstat (limited to 'inc/taskmanagercallback.inc.php')
-rw-r--r-- | inc/taskmanagercallback.inc.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/taskmanagercallback.inc.php b/inc/taskmanagercallback.inc.php index c6b447c9..9f276020 100644 --- a/inc/taskmanagercallback.inc.php +++ b/inc/taskmanagercallback.inc.php @@ -240,4 +240,13 @@ class TaskmanagerCallback SystemStatus::setUpgradableData($task); } + public static function acmeErrors(array $task): void + { + $mod = Module::get('webinterface'); + if ($mod === false) + return; + $mod->activate(1, false); + Acme::callbackErrorCheck($task); + } + } |