diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-28 14:06:20 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-28 14:06:20 +0200 |
commit | e5792cc064c41c2a5bca32b886a8bc08cce2fb3f (patch) | |
tree | 96d6252db48ea9dbd8c96e1fff6c7d6c5792a12d /apps/files_versions/appinfo/app.php | |
parent | f22f49671bcdc87058c6060db4ca4e4e1d9704f1 (diff) | |
download | nextcloud-server-e5792cc064c41c2a5bca32b886a8bc08cce2fb3f.tar.gz nextcloud-server-e5792cc064c41c2a5bca32b886a8bc08cce2fb3f.zip |
adjust the name and/or location of the stored versions if the actual file gets moved or renamed
Diffstat (limited to 'apps/files_versions/appinfo/app.php')
-rw-r--r-- | apps/files_versions/appinfo/app.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_versions/appinfo/app.php b/apps/files_versions/appinfo/app.php index 5a559c0c962..105c5a102cb 100644 --- a/apps/files_versions/appinfo/app.php +++ b/apps/files_versions/appinfo/app.php @@ -9,5 +9,6 @@ OCP\Util::addscript('files_versions', 'versions'); // Listen to write signals OCP\Util::connectHook('OC_Filesystem', 'post_write', "OCA_Versions\Storage", "write_hook"); -// Listen to delete signals -OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA_Versions\Storage", "removeVersions");
\ No newline at end of file +// Listen to delete and rename signals +OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA_Versions\Storage", "removeVersions"); +OCP\Util::connectHook('OC_Filesystem', 'rename', "OCA_Versions\Storage", "renameVersions");
\ No newline at end of file |