summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-04-20 23:27:46 +0200
committerRobin Appelman <icewind@owncloud.com>2013-04-20 23:27:46 +0200
commit7948341a86fb08d236bb53f8aece809ae10ba5f2 (patch)
tree61bf8cc11b2212953f5f87216d33a7744869385f /lib/base.php
parentd0a5fe1f4a39f21c596293232be19d70ad30652e (diff)
downloadnextcloud-server-7948341a86fb08d236bb53f8aece809ae10ba5f2.tar.gz
nextcloud-server-7948341a86fb08d236bb53f8aece809ae10ba5f2.zip
Rework background job system
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base.php b/lib/base.php
index 7b0967df9f9..fda65a221c7 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -561,7 +561,7 @@ class OC {
*/
public static function registerCacheHooks() {
// register cache cleanup jobs
- OC_BackgroundJob_RegularTask::register('OC_Cache_FileGlobal', 'gc');
+ \OCP\BackgroundJob::registerJob('OC_Cache_FileGlobalGC');
OC_Hook::connect('OC_User', 'post_login', 'OC_Cache_File', 'loginListener');
}