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 e40d1c4dcd
commit e389c314a5

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);