mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
correct them the right way this time
This commit is contained in:
parent
2673b6c054
commit
70bf44401d
1 changed files with 2 additions and 2 deletions
|
|
@ -198,7 +198,7 @@ class OC_FILESTORAGE_LOCAL extends OC_FILESTORAGE{
|
|||
case 'a+':
|
||||
OC_HOOK::emit( 'OC_FILESTORAGE', "read", array( 'storage'=>$this, 'path' => $path));
|
||||
OC_HOOK::emit( 'OC_FILESTORAGE', "write", array( 'storage'=>$this, 'path' => $path));
|
||||
if(!exists($path)){
|
||||
if(!$exists){
|
||||
OC_HOOK::emit( 'OC_FILESTORAGE', 'create', array( 'storage'=>$this, 'path' => $path));
|
||||
}
|
||||
$this->clearFolderSizeCache($path);
|
||||
|
|
@ -207,7 +207,7 @@ class OC_FILESTORAGE_LOCAL extends OC_FILESTORAGE{
|
|||
case 'x':
|
||||
case 'a':
|
||||
OC_HOOK::emit( 'OC_FILESTORAGE', "write", array( 'storage'=>$this, 'path' => $path));
|
||||
if(!exists($path)){
|
||||
if(!$exists){
|
||||
OC_HOOK::emit( 'OC_FILESTORAGE', 'create', array( 'storage'=>$this, 'path' => $path));
|
||||
}
|
||||
$this->clearFolderSizeCache($path);
|
||||
|
|
|
|||
Loading…
Reference in a new issue