summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a4adfb)
raw | patch | inline | side by side (parent: 2a4adfb)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 16 Oct 2008 08:08:42 +0000 (08:08 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 16 Oct 2008 08:08:42 +0000 (08:08 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12713 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc | patch | blob | history |
diff --git a/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc b/gosa-plugins/kolab/personal/connectivity/kolab/class_kolabAccount.inc
index 4dd3532e95e92e334274cea11b94296cbb0dc056..a777f19c2ed8132f6db4d0f594fdbfa969894810 100644 (file)
if(in_array("kolabState",$this->multi_boxes)){
$ret['is_account'] = $this->is_account;
}
-
- print_a($ret);
-
return($ret);
}
}
}
+ 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: