Merge pull request #924 from owncloud/versions_write_hook
Change post_write hook to write for files_versions app
This commit is contained in:
commit
ff3ed54e52
|
@ -10,7 +10,7 @@ OCP\App::registerPersonal('files_versions', 'settings-personal');
|
||||||
OCP\Util::addscript('files_versions', 'versions');
|
OCP\Util::addscript('files_versions', 'versions');
|
||||||
|
|
||||||
// Listen to write signals
|
// Listen to write signals
|
||||||
OCP\Util::connectHook('OC_Filesystem', 'post_write', "OCA_Versions\Hooks", "write_hook");
|
OCP\Util::connectHook('OC_Filesystem', 'write', "OCA_Versions\Hooks", "write_hook");
|
||||||
// Listen to delete and rename signals
|
// Listen to delete and rename signals
|
||||||
OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA_Versions\Hooks", "remove_hook");
|
OCP\Util::connectHook('OC_Filesystem', 'delete', "OCA_Versions\Hooks", "remove_hook");
|
||||||
OCP\Util::connectHook('OC_Filesystem', 'rename', "OCA_Versions\Hooks", "rename_hook");
|
OCP\Util::connectHook('OC_Filesystem', 'rename', "OCA_Versions\Hooks", "rename_hook");
|
Loading…
Reference in New Issue