summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/updateaddressbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/updateaddressbook.php')
-rwxr-xr-xapps/contacts/ajax/updateaddressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/updateaddressbook.php b/apps/contacts/ajax/updateaddressbook.php
index 13f1c15ac23..19b5b3bddce 100755
--- a/apps/contacts/ajax/updateaddressbook.php
+++ b/apps/contacts/ajax/updateaddressbook.php
@@ -35,7 +35,7 @@ if(!OC_Contacts_Addressbook::setActive($bookid, $_POST['active'])) {
}
$addressbook = OC_Contacts_App::getAddressbook($bookid);
-$tmpl = new OC_Template('contacts', 'part.chooseaddressbook.rowfields');
+$tmpl = new OCP\Template('contacts', 'part.chooseaddressbook.rowfields');
$tmpl->assign('addressbook', $addressbook);
OCP\JSON::success(array(
'page' => $tmpl->fetchPage(),