pass paramters to file proxies by reference so they can be modified
This commit is contained in:
parent
86d2927c02
commit
b6ed61eab2
|
@ -88,11 +88,11 @@ class OC_FileProxy{
|
||||||
$operation='pre'.$operation;
|
$operation='pre'.$operation;
|
||||||
foreach($proxies as $proxy){
|
foreach($proxies as $proxy){
|
||||||
if($filepath2){
|
if($filepath2){
|
||||||
if(!$proxy->$operation($filepath,$filepath2)){
|
if(!$proxy->$operation(&$filepath,&$filepath2)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
if(!$proxy->$operation($filepath)){
|
if(!$proxy->$operation(&$filepath)){
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue