summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2745d40)
raw | patch | inline | side by side (parent: 2745d40)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Feb 2007 11:09:04 +0000 (11:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 2 Feb 2007 11:09:04 +0000 (11:09 +0000) |
Update current user dn, if dn has changed by modifying user or department dns
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5682 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5682 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index 3b8508967df9692daba2b6a74a42363ccfb7b238..1335565b0ab36a2604e1823ec486131aa0e10278 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
return;
}
+ /* Update userinfo if necessary */
+ if($_SESSION['ui']->dn == $old_dn){
+ $_SESSION['ui']->dn = $new_dn;
+ gosa_log(_("Updated current user dn from '".$old_dn."' to '".$new_dn."'"));
+ }
+
/* Object was moved, ensure that all acls will be moved too */
if($new_dn != $old_dn && $old_dn != "new"){
$acls[] = $acl_str;
}
+
/* Acls for this object must be adjusted */
- if($found){
+ if($found){
if($output_changes){
echo "<font color='green'>Changing ACL dn from : <br> - <b> to".$old_dn."</b><br> - <b>".$new_dn."</b></font><br>";