mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
always calll fopen
This commit is contained in:
parent
781b579074
commit
5e19854d47
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue