Dont update the cache after fopen

This commit is contained in:
Robin Appelman 2015-02-02 17:35:22 +01:00
parent 59f54822f0
commit 842d0e227c
1 changed files with 1 additions and 1 deletions

View 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)) {