diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-04-20 23:27:46 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-04-20 23:27:46 +0200 |
commit | 7948341a86fb08d236bb53f8aece809ae10ba5f2 (patch) | |
tree | 61bf8cc11b2212953f5f87216d33a7744869385f /lib/base.php | |
parent | d0a5fe1f4a39f21c596293232be19d70ad30652e (diff) | |
download | nextcloud-server-7948341a86fb08d236bb53f8aece809ae10ba5f2.tar.gz nextcloud-server-7948341a86fb08d236bb53f8aece809ae10ba5f2.zip |
Rework background job system
Diffstat (limited to 'lib/base.php')
-rw-r--r-- | lib/base.php | 2 |
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'); } |