From cc848debf26f35c46a850527c3efa1a884dd51d2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 24 Jan 2010 03:50:40 +0000 Subject: [PATCH] disable integration for GroupDAV, SyncML, ... --- calendar/inc/class.calendar_so.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar/inc/class.calendar_so.inc.php b/calendar/inc/class.calendar_so.inc.php index d581c486ee..f51c14a6ad 100644 --- a/calendar/inc/class.calendar_so.inc.php +++ b/calendar/inc/class.calendar_so.inc.php @@ -556,6 +556,10 @@ class calendar_so */ private static function get_union_selects(array &$selects,$start,$end,$users,$cat_id,$filter,$query) { + if (in_array(basename($_SERVER['SCRIPT_FILENAME']),array('groupdav.php','rpc.php','xmlrpc.php'))) + { + return; // disable integration for GroupDAV, SyncML, ... + } self::$integration_data = $GLOBALS['egw']->hooks->process(array( 'location' => 'calendar_search_union', 'cols' => $selects[0]['cols'], // cols to return