Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-10-21 17:17:39 +0400
committerRobin Appelman <icewind@owncloud.com>2012-02-21 23:48:47 +0400
commitb6ed61eab2fce2de3653b376bef0eeddd431562a (patch)
tree1555135e9133587c977a773ae6b9648fe2464f4e /lib/fileproxy.php
parent86d2927c02c09d6642268891e995bf9d0a11782c (diff)
pass paramters to file proxies by reference so they can be modified
Diffstat (limited to 'lib/fileproxy.php')
-rw-r--r--lib/fileproxy.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fileproxy.php b/lib/fileproxy.php
index 235fc8bf284..7e0722b960e 100644
--- a/lib/fileproxy.php
+++ b/lib/fileproxy.php
@@ -88,11 +88,11 @@ class OC_FileProxy{
$operation='pre'.$operation;
foreach($proxies as $proxy){
if($filepath2){
- if(!$proxy->$operation($filepath,$filepath2)){
+ if(!$proxy->$operation(&$filepath,&$filepath2)){
return false;
}
}else{
- if(!$proxy->$operation($filepath)){
+ if(!$proxy->$operation(&$filepath)){
return false;
}
}