summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 43e76e5)
raw | patch | inline | side by side (parent: 43e76e5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 11:50:46 +0000 (11:50 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 9 Oct 2008 11:50:46 +0000 (11:50 +0000) |
-Do not try to remove not existing accounts.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12659 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12659 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc b/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc
index 3e60cd6f0df57acb229b3f7adf04f7486e9d8476..fbe5d70fb3b53c82b6a05451f937799a7bd78540 100644 (file)
function remove_from_parent()
{
- if(!$this->acl_is_removeable()) return;
+ if(!$this->acl_is_removeable() || !$this->initially_was_account) return;
$this->attrs[$this->dnmode][0] = $this->dnModeValue;
$sqldeluser=array(
"delete from prg_notes where (user_right like '".$this->attrs[$this->dnmode][0]."') and (group_right like 's')",