From e1dc0d3c99217504de2ac8467156274786efc0bd Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 9 Oct 2014 16:01:11 +0200 Subject: Big load of changes - Added callback functionality for taskmanager tasks. You can launch a task and define a callback function to be run when the task finished. This requires activating the cronjob - Added cron functionality: Add cronjob that calls the cron api every 5 minutes to use it. (See cron.inc.php) - Added eventlog - Added missing translations - Merged main-menu-login and main-menu-logout --- modules/sysconfig.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/sysconfig.inc.php') diff --git a/modules/sysconfig.inc.php b/modules/sysconfig.inc.php index f873fe9e..b27b6a97 100644 --- a/modules/sysconfig.inc.php +++ b/modules/sysconfig.inc.php @@ -222,7 +222,7 @@ class Page_SysConfig extends Page Message::addError('task-error', $task['data']['error']); } elseif ($task['statusCode'] === TASK_FINISHED) { Message::addSuccess('config-activated', $row['title']); - Trigger::ldadp(); // TODO: Feedback + Event::activeConfigChanged(); } Util::redirect('?do=SysConfig'); } -- cgit v1.2.3-55-g7522