diff options
author | markusj <markusj@users.noreply.github.com> | 2014-12-01 15:33:46 +0100 |
---|---|---|
committer | markusj <markusj@users.noreply.github.com> | 2014-12-01 15:33:46 +0100 |
commit | 90cbff2528a5e53121088874846b379558ab4502 (patch) | |
tree | 9aa8d95e0505963de93492c9486a60748a918b0f /config | |
parent | c20ac33c9e5ddfdb55f862b3e3ddaef9a9ff99cb (diff) |
fix cronjob registration
Diffstat (limited to 'config')
-rw-r--r-- | config/appconfig.php | 4 |
1 files 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 +} |