summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2015-02-02 17:35:22 +0100
committerRobin Appelman <icewind@owncloud.com>2015-02-05 13:47:32 +0100
commit842d0e227c601b3fe1c01c4ea613ebf17f2a634a (patch)
tree3a8832b40b6730bd5dfc2faf070010147bbcb338 /lib
parent59f54822f054598c8ed331902635ed2650eb6b50 (diff)
downloadnextcloud-server-842d0e227c601b3fe1c01c4ea613ebf17f2a634a.tar.gz
nextcloud-server-842d0e227c601b3fe1c01c4ea613ebf17f2a634a.zip
Dont update the cache after fopen
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 3bc9fdff1ee..120efa0f052 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -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)) {