Code

Updated user generic
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 13:59:28 +0000 (13:59 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Apr 2010 13:59:28 +0000 (13:59 +0000)
-Fixed problem with ogroup membership

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17890 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/generic/class_user.inc

index 7e02c71ede3174263ad804b74125c4fdab7b0f08..41bf63842a9f1012a911f1caccbe442f6cd5fcf1 100644 (file)
@@ -746,7 +746,6 @@ class user extends plugin
     while ($ldap->fetch()){
       $og= new ogroup($this->config, $ldap->getDN());
       unset($og->member[$this->dn]);
-      $og->member= array_values($og->member);
       $og->save ();
     }