summaryrefslogtreecommitdiffstats
path: root/lib/fileproxy.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-11 20:33:23 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-11 20:33:56 +0200
commitb40f9670ae28bfacc899a6fe734bd6d4b512a83d (patch)
tree0ff649a59de4ab360c63ee09e434c1a2d590c283 /lib/fileproxy.php
parent736739bbbda2e9930b7bdcf79f43a28fad4d1d5d (diff)
downloadnextcloud-server-b40f9670ae28bfacc899a6fe734bd6d4b512a83d.tar.gz
nextcloud-server-b40f9670ae28bfacc899a6fe734bd6d4b512a83d.zip
allow clearing hooks and fileproxies
Diffstat (limited to 'lib/fileproxy.php')
-rw-r--r--lib/fileproxy.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/fileproxy.php b/lib/fileproxy.php
index 46fc2f49c50..70db9cca23c 100644
--- a/lib/fileproxy.php
+++ b/lib/fileproxy.php
@@ -115,4 +115,8 @@ class OC_FileProxy{
}
return $result;
}
+
+ public static function clearProxies(){
+ self::$proxies=array();
+ }
} \ No newline at end of file