]> source.dussan.org Git - nextcloud-server.git/commitdiff
Try to supress pre-upgrade backgroundjob error
authorRobin Appelman <icewind@owncloud.com>
Sat, 20 Apr 2013 22:58:15 +0000 (00:58 +0200)
committerRobin Appelman <icewind@owncloud.com>
Sat, 20 Apr 2013 22:58:15 +0000 (00:58 +0200)
lib/base.php

index 631f93415461b01b67737932e6af7835ea5db186..3568f48644c8d3f1f5dedc65515f8989961c1485 100644 (file)
@@ -562,7 +562,7 @@ class OC {
        public static function registerCacheHooks() {
                // register cache cleanup jobs
                try { //if this is executed before the upgrade to the new backgroundjob system is completed it will throw an exception
-                       \OCP\BackgroundJob::registerJob('OC_Cache_FileGlobalGC');
+                       @\OCP\BackgroundJob::registerJob('OC_Cache_FileGlobalGC');
                } catch (Exception $e) {
 
                }