summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 62be091)
raw | patch | inline | side by side (parent: 62be091)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Jun 2006 11:16:58 +0000 (11:16 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 26 Jun 2006 11:16:58 +0000 (11:16 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3906 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 a2347964cd293988d39f64e5f4546291ee30eaba..39ff5e2006251682d3fb770dd0323be24d6e3e61 100644 (file)
$key = preg_replace("/^gotoShareDel_/","",$name);
$key = preg_replace("/_+[xy]$/","",$key);
$key = preg_replace("/_/", ".", $key);
+
+ 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]);
}