From: hickert Date: Thu, 9 Oct 2008 11:50:46 +0000 (+0000) Subject: Updated connectivity openxchange. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ebfeeef0ccfd06bc5e306593911bfd232f889001;p=gosa.git Updated connectivity openxchange. -Do not try to remove not existing accounts. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12659 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc b/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc index 3e60cd6f0..fbe5d70fb 100644 --- a/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc +++ b/gosa-plugins/openxchange/personal/connectivity/openxchange/class_oxchangeAccount.inc @@ -142,7 +142,7 @@ class oxchangeAccount extends plugin 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')",