summaryrefslogtreecommitdiffstats
path: root/apps/contacts/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/contacts/appinfo
parent4a89eb77c1732a49075d4f3f6a46ddaad10eef70 (diff)
downloadnextcloud-server-9bcc5c11a8785a567ded6c0e4ab3a40966785606.tar.gz
nextcloud-server-9bcc5c11a8785a567ded6c0e4ab3a40966785606.zip
porting the hooks and starting with the templates
Diffstat (limited to 'apps/contacts/appinfo')
-rwxr-xr-xapps/contacts/appinfo/app.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php
index 4808ea5fa83..e5e1d572f2d 100755
--- a/apps/contacts/appinfo/app.php
+++ b/apps/contacts/appinfo/app.php
@@ -5,9 +5,9 @@ OC::$CLASSPATH['OC_Contacts_VCard'] = 'apps/contacts/lib/vcard.php';
OC::$CLASSPATH['OC_Contacts_Hooks'] = 'apps/contacts/lib/hooks.php';
OC::$CLASSPATH['OC_Connector_Sabre_CardDAV'] = 'apps/contacts/lib/connector_sabre.php';
OC::$CLASSPATH['OC_Search_Provider_Contacts'] = 'apps/contacts/lib/search.php';
-OC_HOOK::connect('OC_User', 'post_deleteUser', 'OC_Contacts_Hooks', 'deleteUser');
-OC_HOOK::connect('OC_Calendar', 'getEvents', 'OC_Contacts_Hooks', 'getBirthdayEvents');
-OC_HOOK::connect('OC_Calendar', 'getSources', 'OC_Contacts_Hooks', 'getCalenderSources');
+OCP\Util::connectHook('OC_User', 'post_deleteUser', 'OC_Contacts_Hooks', 'deleteUser');
+OCP\Util::connectHook('OC_Calendar', 'getEvents', 'OC_Contacts_Hooks', 'getBirthdayEvents');
+OCP\Util::connectHook('OC_Calendar', 'getSources', 'OC_Contacts_Hooks', 'getCalenderSources');
OCP\App::register( array(
'order' => 10,