From 842d0e227c601b3fe1c01c4ea613ebf17f2a634a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 2 Feb 2015 17:35:22 +0100 Subject: [PATCH] Dont update the cache after fopen --- lib/private/files/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.39.5