From c5f5a846fb264ae9da8e838a2bbc9c7b454247ce Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 6 Sep 2010 08:45:38 +0000 Subject: [PATCH] Updated class user. -Do not move the user with class_user.inc anymore, we are now using tabs. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19520 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../plugins/personal/generic/class_user.inc | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc index eb83980ad..45b0e081e 100644 --- a/gosa-core/plugins/personal/generic/class_user.inc +++ b/gosa-core/plugins/personal/generic/class_user.inc @@ -1067,22 +1067,23 @@ class user extends plugin } - /* This only gets called when user is renaming himself */ - $ldap= $this->config->get_ldap_link(); - if ($this->dn != $this->new_dn){ - - /* Write entry on new 'dn' */ - $this->update_acls($this->dn,$this->new_dn); - $this->move($this->dn, $this->new_dn); - - /* Happen to use the new one */ - change_ui_dn($this->dn, $this->new_dn); - $this->dn= $this->new_dn; - } +# /* This only gets called when user is renaming himself */ +# $ldap= $this->config->get_ldap_link(); +# if ($this->dn != $this->new_dn){ +# +# /* Write entry on new 'dn' */ +# $this->update_acls($this->dn,$this->new_dn); +# $this->move($this->dn, $this->new_dn); +# +# /* Happen to use the new one */ +# change_ui_dn($this->dn, $this->new_dn); +# $this->dn= $this->new_dn; +# } /* Save data. Using 'modify' implies that the entry is already present, use 'add' for new entries. So do a check first... */ + $ldap= $this->config->get_ldap_link(); $ldap->cat ($this->dn, array('dn')); if ($ldap->fetch()){ $mode= "modify"; -- 2.30.2