Code

Updated class user.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jun 2008 13:51:50 +0000 (13:51 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 24 Jun 2008 13:51:50 +0000 (13:51 +0000)
-Set cn in save_object, so that other plugins can use the actual value for cn, like phoneAccount

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

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

index 7c34bc6b989e43c71cbdeceb5cb1ba74cdb6aca2..9990c0219d38664315e0dc5a18a80f6f2d3d476e 100644 (file)
@@ -799,6 +799,10 @@ class user extends plugin
           }
         }
       }
+
+      /* Save current cn
+       */
+      $this->cn = $this->givenName." ".$this->sn;
     }
   }