summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-06-25 11:22:08 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-06-25 11:22:08 +0200
commit06367d8b81407fc2948e0f666b38f4de2dffbd89 (patch)
treed5cfb74e70560f3abce5aeccf8994dcbe2829e24 /config
parent60c4dfbd9661b93bce14a6a429a3f23d19b5327c (diff)
style fixes
Diffstat (limited to 'config')
-rw-r--r--config/appconfig.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/appconfig.php b/config/appconfig.php
index 4315569d6..456b3d2e3 100644
--- a/config/appconfig.php
+++ b/config/appconfig.php
@@ -19,6 +19,8 @@ use OCP\BackgroundJob\IJobList;
use OCP\INavigationManager;
use OCP\IL10N;
use OCP\IURLGenerator;
+use \OCP\Backgroundjob;
+use \OCP\Util;
// Used to parse app.json file, should be in core at some point
@@ -136,7 +138,7 @@ class AppConfig {
// FIXME: this is temporarily static because core jobs are not public
// yet, therefore legacy code
foreach ($this->config['jobs'] as $job) {
- \OCP\Backgroundjob::addRegularTask($job, 'run');
+ Backgroundjob::addRegularTask($job, 'run');
}
}
@@ -152,7 +154,7 @@ class AppConfig {
$reaction = explode('::', $react);
// config is written like HookNamespace::method => Class::method
- \OCP\Util::connectHook($listener[0], $listener[1], $reaction[0],
+ Util::connectHook($listener[0], $listener[1], $reaction[0],
$reaction[1]);
}
}