diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-02-28 14:21:33 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-02-28 14:21:33 +0100 |
commit | 3ff12ef4eca82325a6e4f1244a12597174e07192 (patch) | |
tree | 86aa40641b71d68379607a01756eed6175639f08 /lib | |
parent | bc49c6be04d78740d9b7cb100debcb6641559d39 (diff) | |
download | nextcloud-server-3ff12ef4eca82325a6e4f1244a12597174e07192.tar.gz nextcloud-server-3ff12ef4eca82325a6e4f1244a12597174e07192.zip |
Also send explicit cache hooks when calling file_put_contents with a resource
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/files/view.php | 3 |
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, |