aboutsummaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates/part.importaddressbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/templates/part.importaddressbook.php')
-rwxr-xr-x[-rw-r--r--]apps/contacts/templates/part.importaddressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/templates/part.importaddressbook.php b/apps/contacts/templates/part.importaddressbook.php
index 2db23368866..45e7366f71c 100644..100755
--- a/apps/contacts/templates/part.importaddressbook.php
+++ b/apps/contacts/templates/part.importaddressbook.php
@@ -13,7 +13,7 @@
<td>
<select id="book" name="book" class="float">
<?php
- $contacts_options = OC_Contacts_Addressbook::all(OC_User::getUser());
+ $contacts_options = OC_Contacts_Addressbook::all(OCP\USER::getUser());
echo html_select_options($contacts_options, $contacts_options[0]['id'], array('value'=>'id', 'label'=>'displayname'));
?>
</select>