summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd0a83a)
raw | patch | inline | side by side (parent: dd0a83a)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Jun 2006 11:16:40 +0000 (11:16 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Jun 2006 11:16:40 +0000 (11:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@3905 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/environment/class_environment.inc | patch | blob | history |
diff --git a/plugins/personal/environment/class_environment.inc b/plugins/personal/environment/class_environment.inc
index 4132771b48a963cde6528fd5e8cafa49b5df3eaf..9ea1e0ef94f707eecf9ed7effe14ae3ea838dc04 100644 (file)
if(isset($this->gotoShares[$key])) {
unset($this->gotoShares[$key]);
}
+
+ /* Remove corresponding password entry, too. This is a workaround
+ to get rid of old-style entries. */
+ $key= preg_replace("/\|/", "|!", $key);
+ if(isset($this->gotoShares[$key])) {
+ unset($this->gotoShares[$key]);
+ }
+
}
if((preg_match("/^gotoShareResetPwd_/",$name)) && ($once)){
$once = false;