summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/editaddressbook.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/editaddressbook.php')
-rw-r--r--apps/contacts/ajax/editaddressbook.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/ajax/editaddressbook.php b/apps/contacts/ajax/editaddressbook.php
index a6262f39b23..ef797778d95 100644
--- a/apps/contacts/ajax/editaddressbook.php
+++ b/apps/contacts/ajax/editaddressbook.php
@@ -6,7 +6,7 @@
* See the COPYING-README file.
*/
-require_once('../../../lib/base.php');
+
OC_JSON::checkLoggedIn();
OC_JSON::checkAppEnabled('contacts');
$addressbook = OC_Contacts_App::getAddressbook($_GET['bookid']);