diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-05 10:18:45 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-05 10:18:45 +0200 |
commit | 9bcc5c11a8785a567ded6c0e4ab3a40966785606 (patch) | |
tree | cb50df0695f11fb8132a35e214caa8cd211bb9a2 /apps/files_versions/appinfo | |
parent | 4a89eb77c1732a49075d4f3f6a46ddaad10eef70 (diff) | |
download | nextcloud-server-9bcc5c11a8785a567ded6c0e4ab3a40966785606.tar.gz nextcloud-server-9bcc5c11a8785a567ded6c0e4ab3a40966785606.zip |
porting the hooks and starting with the templates
Diffstat (limited to 'apps/files_versions/appinfo')
-rwxr-xr-x | apps/files_versions/appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/appinfo/app.php b/apps/files_versions/appinfo/app.php index ebaa7ee0e7e..fd3f78ab575 100755 --- a/apps/files_versions/appinfo/app.php +++ b/apps/files_versions/appinfo/app.php @@ -12,7 +12,7 @@ OCP\App::registerAdmin('files_versions', 'settings'); OCP\Util::addscript('files_versions', 'versions'); // Listen to write signals -OC_Hook::connect(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_post_write, "OCA_Versions\Storage", "write_hook"); +OCP\Util::connectHook(OC_Filesystem::CLASSNAME, OC_Filesystem::signal_post_write, "OCA_Versions\Storage", "write_hook"); |