pass paramters to file proxies by reference so they can be modified

remotes/origin/stable4
Robin Appelman 14 years ago committed by Robin Appelman
parent 86d2927c02
commit b6ed61eab2
  1. 4
      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;
}
}

Loading…
Cancel
Save