summaryrefslogtreecommitdiffstats
path: root/apps/contacts/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/index.php')
-rw-r--r--apps/contacts/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/index.php b/apps/contacts/index.php
index cbd1dee1d91..235e025cd82 100644
--- a/apps/contacts/index.php
+++ b/apps/contacts/index.php
@@ -32,7 +32,7 @@ OC_Util::checkLoggedIn();
OC_Util::checkAppEnabled('contacts');
// Get active address books. This creates a default one if none exists.
-$addressbooks = OC_Contacts_Addressbook::activeAddressbooks(OC_User::getUser());
+$addressbooks = OC_Contacts_Addressbook::active(OC_User::getUser());
// Load the files we need
OC_App::setActiveNavigationEntry( 'contacts_index' );