summaryrefslogtreecommitdiff
path: root/plugins/kolab_config/kolab_config.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-08-03 13:02:48 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-08-03 13:02:48 (GMT)
commit6f8f485c877210c4f2f030b33ef6dda39d65887f (patch)
tree653583cc329a8b309343e970990b107d954b3751 /plugins/kolab_config/kolab_config.php
parent8fe64d74005f28efd5da62ef755ffd5ce00c0c6f (diff)
downloadroundcubemail-plugins-kolab-6f8f485c877210c4f2f030b33ef6dda39d65887f.tar.gz
Fix performance of fetching configuration and relation objects (skip count query)
Diffstat (limited to 'plugins/kolab_config/kolab_config.php')
-rw-r--r--plugins/kolab_config/kolab_config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kolab_config/kolab_config.php b/plugins/kolab_config/kolab_config.php
index d3e6636..60fc4cf 100644
--- a/plugins/kolab_config/kolab_config.php
+++ b/plugins/kolab_config/kolab_config.php
@@ -152,7 +152,7 @@ class kolab_config extends rcube_plugin
$query = array(array('type','=',self::O_TYPE), array('tags','=',$lang));
- foreach ($this->config->get_objects($query, $default) as $object) {
+ foreach ($this->config->get_objects($query, $default, null, 100) as $object) {
if ($object['language'] == $lang || $object['language'] == 'XX') {
if (is_array($this->dicts[$lang]))
$this->dicts[$lang]['e'] = array_merge((array)$this->dicts[$lang]['e'], $object['e']);