summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-04-21 00:58:15 +0200
committerRobin Appelman <icewind@owncloud.com>2013-04-21 00:58:15 +0200
commit40de36a8f3dfba5dc6297adbd6c92d8b64c57190 (patch)
treead45f66c0de9a5731b75456827bd1b486bf5aed5 /lib/base.php
parent07f510692cfa6dfb8357b7eb66e897a03fd20e3f (diff)
downloadnextcloud-server-40de36a8f3dfba5dc6297adbd6c92d8b64c57190.tar.gz
nextcloud-server-40de36a8f3dfba5dc6297adbd6c92d8b64c57190.zip
Try to supress pre-upgrade backgroundjob error
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 631f9341546..3568f48644c 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -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) {
}