pass paramters to file proxies by reference so they can be modified
This commit is contained in:
parent
86d2927c02
commit
b6ed61eab2
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue