summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bc2cac0)
raw | patch | inline | side by side (parent: bc2cac0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 31 Aug 2007 11:11:47 +0000 (11:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 31 Aug 2007 11:11:47 +0000 (11:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7179 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/generic/class_user.inc | patch | blob | history |
index ead7b4a6e74437a224acb2a2fc6c0e2062fefb57..75f07e360c1595922dcc0e6430c12285db0c0093 100644 (file)
/* Finally write data with selected 'mode' */
$this->cleanup();
+
+ if(isset($this->attrs['preferredLanguage'])){
+ $_SESSION['ui']->language = $this->preferredLanguage;
+ $_SESSION['Last_init_lang'] = "update";
+ }
+
$ldap->cd ($this->dn);
$ldap->$mode ($this->attrs);
if (show_ldap_error($ldap->get_error(), sprintf(_("Saving of user/generic account with dn '%s' failed."),$this->dn))){