summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.import.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/templates/part.import.php')
-rwxr-xr-x[-rw-r--r--]apps/contacts/templates/part.import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.import.php b/apps/contacts/templates/part.import.php
index 570eda9b07d..a2f8aefa6f4 100644..100755
--- a/apps/contacts/templates/part.import.php
+++ b/apps/contacts/templates/part.import.php
@@ -6,7 +6,7 @@
<p style="text-align:center;"><b><?php echo $l->t('Please choose the addressbook'); ?></b>
<select style="width:100%;" id="contacts" name="contacts">
<?php
-$contacts_options = OC_Contacts_Addressbook::all(OC_User::getUser());
+$contacts_options = OC_Contacts_Addressbook::all(OCP\USER::getUser());
$contacts_options[] = array('id'=>'newaddressbook', 'displayname'=>$l->t('create a new addressbook'));
echo html_select_options($contacts_options, $contacts_options[0]['id'], array('value'=>'id', 'label'=>'displayname'));
?>