From: Bart Visscher Date: Thu, 16 Feb 2012 18:16:31 +0000 (+0100) Subject: Contacts: Add removed app enabled check X-Git-Tag: v4.0.0beta~201^2~52 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5f3c54922773068091dfe8b40e3b407512ef4cfe;p=nextcloud-server.git Contacts: Add removed app enabled check --- diff --git a/apps/contacts/index.php b/apps/contacts/index.php index c5115d16074..0a21ddd04b6 100644 --- a/apps/contacts/index.php +++ b/apps/contacts/index.php @@ -10,6 +10,8 @@ require_once('../../lib/base.php'); // Check if we are a user OC_Util::checkLoggedIn(); +OC_Util::checkAppEnabled('contacts'); + // Get active address books. This creates a default one if none exists. $ids = OC_Contacts_Addressbook::activeIds(OC_User::getUser()); $contacts = OC_Contacts_VCard::all($ids);