summaryrefslogtreecommitdiffstats
path: root/lib/private/fileproxy.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/fileproxy.php')
-rw-r--r--lib/private/fileproxy.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/private/fileproxy.php b/lib/private/fileproxy.php
index 52ec79b4bdb..2997aaf81b6 100644
--- a/lib/private/fileproxy.php
+++ b/lib/private/fileproxy.php
@@ -67,7 +67,11 @@ class OC_FileProxy{
self::$proxies[]=$proxy;
}
- public static function getProxies($operation) {
+ public static function getProxies($operation = null) {
+ if ($operation === null) {
+ // return all
+ return self::$proxies;
+ }
$proxies=array();
foreach(self::$proxies as $proxy) {
if(method_exists($proxy, $operation)) {