From 9bcc5c11a8785a567ded6c0e4ab3a40966785606 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Sat, 5 May 2012 10:18:45 +0200 Subject: porting the hooks and starting with the templates --- apps/files_versions/appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files_versions/appinfo') 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"); -- cgit v1.2.3