diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-30 13:57:44 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-30 13:57:44 +0200 |
commit | 4481a8412c28f57baece09f12a9589179cc5de8a (patch) | |
tree | 0de0ed695912225cadb4463108509ec026e435ac /lib/private/files/filesystem.php | |
parent | 654a6e6c6a0128b5443f7668ab6905523c049614 (diff) | |
parent | ced2a4fcf283985a09698bdc5164c039b3996bbc (diff) | |
download | nextcloud-server-4481a8412c28f57baece09f12a9589179cc5de8a.tar.gz nextcloud-server-4481a8412c28f57baece09f12a9589179cc5de8a.zip |
Merge pull request #8132 from owncloud/issue/8131
Issue/8131 Fix emitting of filesystem related hooks
Diffstat (limited to 'lib/private/files/filesystem.php')
-rw-r--r-- | lib/private/files/filesystem.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php index 434ee495870..52df1bec611 100644 --- a/lib/private/files/filesystem.php +++ b/lib/private/files/filesystem.php @@ -119,6 +119,22 @@ class Filesystem { const signal_post_write = 'post_write'; /** + * signal emitted before file/dir update + * + * @param string $path + * @param bool $run changing this flag to false in hook handler will cancel event + */ + const signal_update = 'update'; + + /** + * signal emitted after file/dir update + * + * @param string $path + * @param bool $run changing this flag to false in hook handler will cancel event + */ + const signal_post_update = 'post_update'; + + /** * signal emits when reading file/dir * * @param string $path |