always calll fopen

This commit is contained in:
Björn Schießle 2012-11-13 16:04:27 +01:00
parent 781b579074
commit 5e19854d47
1 changed files with 2 additions and 2 deletions

View File

@ -413,8 +413,8 @@ class OC_Filestorage_Shared extends OC_Filestorage_Common {
if ( $write && $storage->touch($this->getInternalPath($source)) ) {
OC_FileCache::put($intPath ,array('user'=>$user), '/'.$user.'/files');
return $storage->fopen($this->getInternalPath($source), $mode);
}
}
return $storage->fopen($this->getInternalPath($source), $mode);
}
return false;
}