summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <Raydiation@users.noreply.github.com>2014-12-01 17:50:48 +0100
committerBernhard Posselt <Raydiation@users.noreply.github.com>2014-12-01 17:50:48 +0100
commitf2f31855c4d571d5535b91bd1072a163f401f1a4 (patch)
tree9aa8d95e0505963de93492c9486a60748a918b0f
parentc20ac33c9e5ddfdb55f862b3e3ddaef9a9ff99cb (diff)
parent90cbff2528a5e53121088874846b379558ab4502 (diff)
Merge pull request #670 from markusj/fix-cronjob-registration
fix cronjob registration
-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
+}