From 9fa291d21b221465f4c8dd681e0760ef32c1f795 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 16 Oct 2008 08:08:42 +0000 Subject: [PATCH] Updated kolab delegate addon (connectivity) -Copy & paste assumed that "connectivity kolab" was a valid account, if the mailmethod kolab was used. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12713 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../connectivity/kolab/class_kolabAccount.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc b/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc index 4dd3532e9..a777f19c2 100644 --- a/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc +++ b/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc @@ -564,9 +564,6 @@ class kolabAccount extends plugin if(in_array("kolabState",$this->multi_boxes)){ $ret['is_account'] = $this->is_account; } - - print_a($ret); - return($ret); } @@ -662,7 +659,16 @@ class kolabAccount extends plugin } } + function PrepareForCopyPaste($source) + { + plugin::PrepareForCopyPaste($source); + + $this->is_account = FALSE; + if(isset($source['kolabDelegate']) || isset($source['calFBURL'])){ + $this->is_account = TRUE; + } + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: -- 2.30.2