aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/lib/hooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/lib/hooks.php')
-rwxr-xr-x[-rw-r--r--]apps/contacts/lib/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/lib/hooks.php b/apps/contacts/lib/hooks.php
index b858c4a5a48..9939075a460 100644..100755
--- a/apps/contacts/lib/hooks.php
+++ b/apps/contacts/lib/hooks.php
@@ -41,7 +41,7 @@ class OC_Contacts_Hooks{
static public function getCalenderSources($parameters) {
$base_url = OC_Helper::linkTo('calendar', 'ajax/events.php').'?calendar_id=';
- foreach(OC_Contacts_Addressbook::all(OC_User::getUser()) as $addressbook) {
+ foreach(OC_Contacts_Addressbook::all(OCP\USER::getUser()) as $addressbook) {
$parameters['sources'][] =
array(
'url' => $base_url.'birthday_'. $addressbook['id'],