Skip to content

Commit

Permalink
Fix saving categories and descriptions of contact groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Dec 17, 2013
1 parent ea19e5a commit deedb5c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions turba/lib/Driver/Kolab.php
Expand Up @@ -101,14 +101,6 @@ public function __construct($name = '', $params = array())
*/
public function toDriverKeys(array $hash)
{
if (isset($hash['__type']) && $hash['__type'] == 'Group') {
$name = $hash['name'];
unset($hash['name']);
$hash = parent::toDriverKeys($hash);
$hash['display-name'] = $name;
return $hash;
}

$hash = parent::toDriverKeys($hash);

if (isset($hash['name'])) {
Expand Down

0 comments on commit deedb5c

Please sign in to comment.