summaryrefslogtreecommitdiffstats
path: root/lib/cache
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/cache
parentd0a5fe1f4a39f21c596293232be19d70ad30652e (diff)
downloadnextcloud-server-7948341a86fb08d236bb53f8aece809ae10ba5f2.tar.gz
nextcloud-server-7948341a86fb08d236bb53f8aece809ae10ba5f2.zip
Rework background job system
Diffstat (limited to 'lib/cache')
-rw-r--r--lib/cache/fileglobalgc.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/cache/fileglobalgc.php b/lib/cache/fileglobalgc.php
new file mode 100644
index 00000000000..a29c31f9063
--- /dev/null
+++ b/lib/cache/fileglobalgc.php
@@ -0,0 +1,8 @@
+<?php
+
+
+class OC_Cache_FileGlobalGC extends \OC\BackgroundJob\Job{
+ public function run($argument){
+ OC_Cache_FileGlobal::gc();
+ }
+}