]> source.dussan.org Git - nextcloud-server.git/commitdiff
Dont update the cache after fopen
authorRobin Appelman <icewind@owncloud.com>
Mon, 2 Feb 2015 16:35:22 +0000 (17:35 +0100)
committerRobin Appelman <icewind@owncloud.com>
Thu, 5 Feb 2015 12:47:32 +0000 (13:47 +0100)
lib/private/files/view.php

index 3bc9fdff1ee6ad53679aa0472efb42099ff0d930..120efa0f052c3cd9fe9e3249f858f92dcb3e7d02 100644 (file)
@@ -811,7 +811,7 @@ class View {
                                if (in_array('delete', $hooks) and $result) {
                                        $this->updater->remove($path);
                                }
-                               if (in_array('write', $hooks)) {
+                               if (in_array('write', $hooks) and $operation !== 'fopen') {
                                        $this->updater->update($path);
                                }
                                if (in_array('touch', $hooks)) {