diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-28 13:17:19 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-28 13:31:08 +0100 |
commit | eaedda2116ddde4b0a571ccdf96437eea37fe380 (patch) | |
tree | 84fab876b368dd5f947f22dcb6fb80083207a850 /apps/files_versions/appinfo | |
parent | a1d2f0f51605b6c4b2a204e6650c683881052a1a (diff) | |
download | nextcloud-server-eaedda2116ddde4b0a571ccdf96437eea37fe380.tar.gz nextcloud-server-eaedda2116ddde4b0a571ccdf96437eea37fe380.zip |
make sure that we don't try to access an already deleted files, fixes some file source not found warnings
Diffstat (limited to 'apps/files_versions/appinfo')
-rw-r--r-- | apps/files_versions/appinfo/app.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_versions/appinfo/app.php b/apps/files_versions/appinfo/app.php index 5b1e464ba6c..8f2071dd7b6 100644 --- a/apps/files_versions/appinfo/app.php +++ b/apps/files_versions/appinfo/app.php @@ -12,6 +12,7 @@ OCP\Util::addStyle('files_versions', 'versions'); OCP\Util::connectHook('OC_Filesystem', 'write', "OCA\Files_Versions\Hooks", "write_hook"); // Listen to delete and rename signals OCP\Util::connectHook('OC_Filesystem', 'post_delete', "OCA\Files_Versions\Hooks", "remove_hook"); +OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA\Files_Versions\Hooks", "pre_remove_hook"); OCP\Util::connectHook('OC_Filesystem', 'rename', "OCA\Files_Versions\Hooks", "rename_hook"); //Listen to delete user signal OCP\Util::connectHook('OC_User', 'pre_deleteUser', "OCA\Files_Versions\Hooks", "deleteUser_hook"); |