From 06367d8b81407fc2948e0f666b38f4de2dffbd89 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Wed, 25 Jun 2014 11:22:08 +0200 Subject: style fixes --- config/appconfig.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config') 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]); } } -- cgit v1.2.3