summaryrefslogtreecommitdiffstats
path: root/apps/contacts/index.php
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-01 18:50:31 +0200
committerFrank Karlitschek <frank@owncloud.org>2012-05-01 18:50:31 +0200
commit70cea18cce0fcdb4d8118ff2d7abccc922417a6a (patch)
tree7f8c476cb75b38fea3ed4ad555f00885f6da2670 /apps/contacts/index.php
parentdc7cdda5ccc7d40bf9865e1af5a7846782ec700b (diff)
downloadnextcloud-server-70cea18cce0fcdb4d8118ff2d7abccc922417a6a.tar.gz
nextcloud-server-70cea18cce0fcdb4d8118ff2d7abccc922417a6a.zip
ported getUser
Diffstat (limited to 'apps/contacts/index.php')
-rwxr-xr-x[-rw-r--r--]apps/contacts/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/contacts/index.php b/apps/contacts/index.php
index 0abec096e7f..70daf4abe99 100644..100755
--- a/apps/contacts/index.php
+++ b/apps/contacts/index.php
@@ -13,10 +13,10 @@ OC_Util::checkLoggedIn();
OC_Util::checkAppEnabled('contacts');
// Get active address books. This creates a default one if none exists.
-$ids = OC_Contacts_Addressbook::activeIds(OC_User::getUser());
+$ids = OC_Contacts_Addressbook::activeIds(OCP\USER::getUser());
$contacts = OC_Contacts_VCard::all($ids);
-$addressbooks = OC_Contacts_Addressbook::active(OC_User::getUser());
+$addressbooks = OC_Contacts_Addressbook::active(OCP\USER::getUser());
// Load the files we need
OC_App::setActiveNavigationEntry( 'contacts_index' );