From 90cbff2528a5e53121088874846b379558ab4502 Mon Sep 17 00:00:00 2001 From: markusj Date: Mon, 1 Dec 2014 15:33:46 +0100 Subject: fix cronjob registration --- config/appconfig.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/appconfig.php b/config/appconfig.php index f153e8d22..a206351d1 100644 --- a/config/appconfig.php +++ b/config/appconfig.php @@ -86,7 +86,7 @@ class AppConfig { $this->registerNavigation(); $this->registerHooks(); // Fuck it lets just do this quick and dirty until core supports this - Backgroundjob::addRegularTask($job['cron'][0]['job'], 'run'); + Backgroundjob::addRegularTask($this->config['cron']['job'], 'run'); App::registerAdmin($this->config['id'], $this->config['admin']); } @@ -131,4 +131,4 @@ class AppConfig { } -} \ No newline at end of file +} -- cgit v1.2.3