diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-02-16 19:16:31 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-02-17 22:07:14 +0100 |
commit | 5f3c54922773068091dfe8b40e3b407512ef4cfe (patch) | |
tree | 80516862581adaa9467ba228286fb56c1fe23a77 | |
parent | f54c767d72b8380c181c218f378b25e5fbf75ce7 (diff) | |
download | nextcloud-server-5f3c54922773068091dfe8b40e3b407512ef4cfe.tar.gz nextcloud-server-5f3c54922773068091dfe8b40e3b407512ef4cfe.zip |
Contacts: Add removed app enabled check
-rw-r--r-- | apps/contacts/index.php | 2 |
1 files changed, 2 insertions, 0 deletions
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); |