Dont update the cache after fopen

remotes/origin/log-external-deletes
Robin Appelman 2015-02-02 17:35:22 +07:00
parent 59f54822f0
commit 842d0e227c
1 changed files with 1 additions and 1 deletions

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