Always call kolab_storage_folder::count() with an argument, do not depend

on internal implementation when it is known what type is needed
This commit is contained in:
Aleksander Machniak 2013-10-15 12:36:10 +02:00
parent 79b6799a58
commit 1d97e50634

View file

@ -478,7 +478,7 @@ class rcube_kolab_contacts extends rcube_addressbook
$count = count($this->filter['ids']);
}
else {
$count = $this->storagefolder->count();
$count = $this->storagefolder->count('contact');
}
return new rcube_result_set($count, ($this->list_page-1) * $this->page_size);