fixed typos in var names

This commit is contained in:
Sam Tuke 2012-05-31 14:53:52 +01:00
parent 43fcae0409
commit fc400e06c3
1 changed files with 3 additions and 3 deletions

View File

@ -345,7 +345,7 @@ class OC_FilesystemView {
*/
private function basicOperation($operation,$path,$hooks=array(),$extraParam=null){
if(OC_FileProxy::runPreProxies($operation,$path, $extraParam) and OC_Filesystem::isValidPath($path)){
$interalPath=$this->getInternalPath($path);
$internalPath=$this->getInternalPath($path);
$run=true;
if(OC_Filesystem::$loaded and $this->fakeRoot==OC_Filesystem::getRoot()){
foreach($hooks as $hook){
@ -358,9 +358,9 @@ class OC_FilesystemView {
}
if($run and $storage=$this->getStorage($path)){
if(!is_null($extraParam)){
$result=$storage->$operation($interalPath,$extraParam);
$result=$storage->$operation($internalPath,$extraParam);
}else{
$result=$storage->$operation($interalPath);
$result=$storage->$operation($internalPath);
}
$result=OC_FileProxy::runPostProxies($operation,$path,$result);
if(OC_Filesystem::$loaded and $this->fakeRoot==OC_Filesystem::getRoot()){