summaryrefslogtreecommitdiff
path: root/lib/kolab_api_service.php
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2014-11-04 13:47:08 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2014-11-04 13:47:08 (GMT)
commite561788b5c9bc243e332c09d86506489deeee796 (patch)
tree434c29987ad5515e6c967de4303c3f56c4d310ca /lib/kolab_api_service.php
parentbe7ef6f18d07aa3f71be0184c8845c646fa09a18 (diff)
downloadkolab-wap-e561788b5c9bc243e332c09d86506489deeee796.tar.gz
Return user info in system.authenticate result for better performance (#3858)
Diffstat (limited to 'lib/kolab_api_service.php')
-rw-r--r--lib/kolab_api_service.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kolab_api_service.php b/lib/kolab_api_service.php
index e881a78..9cd37de 100644
--- a/lib/kolab_api_service.php
+++ b/lib/kolab_api_service.php
@@ -469,7 +469,7 @@ abstract class kolab_api_service
*
* @return array Entry attributes
*/
- protected function parse_result_attributes($object_name, $attrs = array())
+ public function parse_result_attributes($object_name, $attrs = array())
{
if (empty($attrs) || !is_array($attrs)) {
return $attrs;
@@ -549,7 +549,7 @@ abstract class kolab_api_service
*
* @return array Entry attributes
*/
- protected function object_attributes($object_name)
+ public function object_attributes($object_name)
{
$unique_attr = self::unique_attribute();
$object_types = $this->object_types($object_name);