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