summaryrefslogtreecommitdiffstats
path: root/lib/filestorage.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-18 15:30:05 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-18 15:30:27 +0200
commit2673b6c0547a27fbb2f7f694353416c99125b9ce (patch)
tree39e49465d74be99e24244593231d2c36f1e25bf6 /lib/filestorage.php
parent14777ba444ebb7491694f46f4e35a4f3ec1607bd (diff)
downloadnextcloud-server-2673b6c0547a27fbb2f7f694353416c99125b9ce.tar.gz
nextcloud-server-2673b6c0547a27fbb2f7f694353416c99125b9ce.zip
typo's ...
Diffstat (limited to 'lib/filestorage.php')
-rw-r--r--lib/filestorage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filestorage.php b/lib/filestorage.php
index 576a6dbdf34..8a4c252cdc1 100644
--- a/lib/filestorage.php
+++ b/lib/filestorage.php
@@ -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($path)){
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($path)){
OC_HOOK::emit( 'OC_FILESTORAGE', 'create', array( 'storage'=>$this, 'path' => $path));
}
$this->clearFolderSizeCache($path);