summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/appconfig.php4
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
+}