Also send explicit cache hooks when calling file_put_contents with a resource
This commit is contained in:
parent
bc49c6be04
commit
3ff12ef4ec
|
@ -310,6 +310,9 @@ class View {
|
|||
fclose($target);
|
||||
fclose($data);
|
||||
if ($this->shouldEmitHooks($path) && $result !== false) {
|
||||
Updater::writeHook(array(
|
||||
'path' => $this->getHookPath($path)
|
||||
));
|
||||
if (!$exists) {
|
||||
\OC_Hook::emit(
|
||||
Filesystem::CLASSNAME,
|
||||
|
|
Loading…
Reference in New Issue