summaryrefslogtreecommitdiff
path: root/program/include/rcube_contacts.php
diff options
context:
space:
mode:
Diffstat (limited to 'program/include/rcube_contacts.php')
-rw-r--r--program/include/rcube_contacts.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php
index b8307d49a..8426f4b4a 100644
--- a/program/include/rcube_contacts.php
+++ b/program/include/rcube_contacts.php
@@ -39,7 +39,7 @@ class rcube_contacts extends rcube_addressbook
/** public properties */
var $primary_key = 'contact_id';
var $readonly = false;
- var $groups = false;
+ var $groups = true;
var $list_page = 1;
var $page_size = 10;
var $group_id = 0;
@@ -58,9 +58,6 @@ class rcube_contacts extends rcube_addressbook
$this->db_name = get_table_name('contacts');
$this->user_id = $user;
$this->ready = $this->db && !$this->db->is_error();
-
- if (in_array('contactgroups', $this->db->list_tables()))
- $this->groups = true;
}