summaryrefslogtreecommitdiffstats
path: root/apps/files_versions/appinfo
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-05 10:18:45 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-05 10:18:45 +0200
commit9bcc5c11a8785a567ded6c0e4ab3a40966785606 (patch)
treecb50df0695f11fb8132a35e214caa8cd211bb9a2 /apps/files_versions/appinfo
parent4a89eb77c1732a49075d4f3f6a46ddaad10eef70 (diff)
downloadnextcloud-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-xapps/files_versions/appinfo/app.php2
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");