summaryrefslogtreecommitdiffstats
path: root/apps/calendar/appinfo
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-17 03:04:04 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-17 03:04:04 +0200
commit258df5eea2fe7db6b03cf20f3c16357487dc425b (patch)
treee2dbef308176f031a3502f9f5785883b83b218c4 /apps/calendar/appinfo
parent4b8a34df21aca5cb7e38ec16d4d6720e27f543a9 (diff)
downloadnextcloud-server-258df5eea2fe7db6b03cf20f3c16357487dc425b.tar.gz
nextcloud-server-258df5eea2fe7db6b03cf20f3c16357487dc425b.zip
Added hook for postCreateUser. Probably fix for oc-1265.
Diffstat (limited to 'apps/calendar/appinfo')
-rw-r--r--apps/calendar/appinfo/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/appinfo/app.php b/apps/calendar/appinfo/app.php
index 3c8cc76133e..c8fccc326c3 100644
--- a/apps/calendar/appinfo/app.php
+++ b/apps/calendar/appinfo/app.php
@@ -10,6 +10,7 @@ OC::$CLASSPATH['OC_Calendar_Share'] = 'apps/calendar/lib/share.php';
OC::$CLASSPATH['OC_Search_Provider_Calendar'] = 'apps/calendar/lib/search.php';
OC::$CLASSPATH['OC_Calendar_Export'] = 'apps/calendar/lib/export.php';
//General Hooks
+OCP\Util::connectHook('OC_User', 'post_createUser', 'OC_Calendar_Hooks', 'createUser');
OCP\Util::connectHook('OC_User', 'post_deleteUser', 'OC_Calendar_Hooks', 'deleteUser');
//Repeating Events Hooks
OCP\Util::connectHook('OC_Calendar', 'addEvent', 'OC_Calendar_Repeat', 'generate');