summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax/deletebook.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/contacts/ajax/deletebook.php')
-rw-r--r--apps/contacts/ajax/deletebook.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/contacts/ajax/deletebook.php b/apps/contacts/ajax/deletebook.php
index ba36c494cdf..8506284cc0d 100644
--- a/apps/contacts/ajax/deletebook.php
+++ b/apps/contacts/ajax/deletebook.php
@@ -33,7 +33,6 @@ if( !OC_User::isLoggedIn()){
exit();
}
-
$addressbook = OC_Contacts_Addressbook::findAddressbook( $id );
if( $addressbook === false || $addressbook['userid'] != OC_USER::getUser()){
echo json_encode( array( 'status' => 'error', 'data' => array( 'message' => $l10n->t('This is not your contact!'))));