Dont update the cache after fopen
This commit is contained in:
parent
59f54822f0
commit
842d0e227c
|
@ -811,7 +811,7 @@ class View {
|
||||||
if (in_array('delete', $hooks) and $result) {
|
if (in_array('delete', $hooks) and $result) {
|
||||||
$this->updater->remove($path);
|
$this->updater->remove($path);
|
||||||
}
|
}
|
||||||
if (in_array('write', $hooks)) {
|
if (in_array('write', $hooks) and $operation !== 'fopen') {
|
||||||
$this->updater->update($path);
|
$this->updater->update($path);
|
||||||
}
|
}
|
||||||
if (in_array('touch', $hooks)) {
|
if (in_array('touch', $hooks)) {
|
||||||
|
|
Loading…
Reference in New Issue