]> source.dussan.org Git - nextcloud-server.git/commitdiff
typo's ...
authorRobin Appelman <icewind1991@gmail.com>
Mon, 18 Apr 2011 13:30:05 +0000 (15:30 +0200)
committerRobin Appelman <icewind1991@gmail.com>
Mon, 18 Apr 2011 13:30:27 +0000 (15:30 +0200)
lib/filestorage.php

index 576a6dbdf3431e953806b43699f59a3b9447faa4..8a4c252cdc13cefe434844ce435ec789398f69b6 100644 (file)
@@ -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);