From ebfeeef0ccfd06bc5e306593911bfd232f889001 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 9 Oct 2008 11:50:46 +0000 Subject: [PATCH] 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 --- .../personal/connectivity/openxchange/class_oxchangeAccount.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')", -- 2.30.2