Index: openacs-4/packages/calendar/tcl/calendar-callback-procs-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-callback-procs-oracle.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/calendar/tcl/calendar-callback-procs-oracle.xql 13 Jun 2005 13:51:04 -0000 1.2 +++ openacs-4/packages/calendar/tcl/calendar-callback-procs-oracle.xql 13 Jun 2005 14:04:35 -0000 1.3 @@ -13,15 +13,4 @@ and ci.on_which_calendar = calendars.calendar_id) - - - - select site_node.url(min(node_id)) - from site_nodes - where object_id = (select package_id - from calendars - where calendar_id = :object_id) - - - Index: openacs-4/packages/calendar/tcl/calendar-callback-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-callback-procs-postgresql.xql,v diff -u -r1.2 -r1.3 --- openacs-4/packages/calendar/tcl/calendar-callback-procs-postgresql.xql 13 Jun 2005 13:51:04 -0000 1.2 +++ openacs-4/packages/calendar/tcl/calendar-callback-procs-postgresql.xql 13 Jun 2005 14:04:35 -0000 1.3 @@ -13,15 +13,4 @@ and ci.on_which_calendar = calendars.calendar_id) - - - - select site_node__url(min(node_id)) - from site_nodes - where object_id = (select package_id - from calendars - where calendar_id = :object_id) - - - Index: openacs-4/packages/calendar/tcl/calendar-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/calendar/tcl/calendar-callback-procs.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/packages/calendar/tcl/calendar-callback-procs.tcl 13 Jun 2005 13:53:01 -0000 1.4 +++ openacs-4/packages/calendar/tcl/calendar-callback-procs.tcl 13 Jun 2005 14:04:35 -0000 1.5 @@ -49,33 +49,3 @@ return "[ad_url][db_string select_cal_item_package_url {}]cal-item-view?cal_item_id=$object_id" } -ad_proc -public -callback search::datasource -impl calendar {} { - Datasource for the FtsContentProvider contract for the calendar object. - - @author Dirk Gomez openacs@dirkgomez.de - @creation_date 2004-04-01 -} { - if {![db_0or1row datasource { - select - calendar_id as object_id, - calendar_name as title, - '' as content, - 'text/plain' as mime, - 'text' as storage_type, - '' as keywords - from cal_item - where cal_item_id = :object_id - } -column_array datasource]} { - return {object_id {} name {} charter {} mime {} storage_type {}} - } - return [array get datasource] -} - -ad_proc -public -callback search::url -impl calendar {} { - url method for the FtsContentProvider contract - - @author Dirk Gomez openacs@dirkgomez.de - @creation_date 2004-04-01 -} { - return "[ad_url][db_string select_calendar_package_url {}]" -}