summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/files/view.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index a76115a816e..975b5d00099 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -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,