summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 498deb4)
raw | patch | inline | side by side (parent: 498deb4)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 May 2007 13:34:05 +0000 (13:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 14 May 2007 13:34:05 +0000 (13:34 +0000) |
They remove_from_parent was called everytime you saved a user account.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6372 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6372 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/personal/connectivity/class_intranetAccount.inc | patch | blob | history | |
plugins/personal/connectivity/class_proxyAccount.inc | patch | blob | history |
diff --git a/plugins/personal/connectivity/class_intranetAccount.inc b/plugins/personal/connectivity/class_intranetAccount.inc
index 845ab01bba14c2c3ccfad045d045959760c4808a..d8fc86d85a3a6546a5c23d5aca8da20bd6297f7b 100644 (file)
*/
function remove_from_parent()
{
- if($this->acl_is_removeable()){
+ if($this->acl_is_removeable() && $this->initially_was_account){
plugin::remove_from_parent();
$ldap= $this->config->get_ldap_link();
diff --git a/plugins/personal/connectivity/class_proxyAccount.inc b/plugins/personal/connectivity/class_proxyAccount.inc
index 497166060ba5552bc8815ab2af2c3b52425299f6..67d6a8b026b40b8c6a47225c0fb675af20bf0ba9 100644 (file)
function remove_from_parent()
{
- if($this->acl_is_removeable()){
+ if($this->acl_is_removeable() && $this->initially_was_account){
plugin::remove_from_parent();