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.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/private/fileproxy.php b/lib/private/fileproxy.php
index 2997aaf81b6..62187e1ec74 100644
--- a/lib/private/fileproxy.php
+++ b/lib/private/fileproxy.php
@@ -67,6 +67,9 @@ class OC_FileProxy{
self::$proxies[]=$proxy;
}
+ /**
+ * @param string $operation
+ */
public static function getProxies($operation = null) {
if ($operation === null) {
// return all
@@ -81,6 +84,10 @@ class OC_FileProxy{
return $proxies;
}
+ /**
+ * @param string $operation
+ * @param string|boolean $filepath
+ */
public static function runPreProxies($operation,&$filepath,&$filepath2=null) {
if(!self::$enabled) {
return true;
@@ -101,6 +108,11 @@ class OC_FileProxy{
return true;
}
+ /**
+ * @param string $operation
+ *
+ * @return string
+ */
public static function runPostProxies($operation, $path, $result) {
if(!self::$enabled) {
return $result;