Index: openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 1 Nov 2001 23:12:53 -0000 1.3 +++ openacs-4/packages/dotlrn-calendar/tcl/dotlrn-calendar-procs.tcl 10 Nov 2001 18:45:58 -0000 1.4 @@ -43,13 +43,9 @@ } { Add the calendar applet } { - # Callback to get node_id from community - # REVISIT this (ben) - set node_id [site_node_id [ad_conn url]] - # create the calendar package instance (all in one, I've mounted it) set package_key [package_key] - set package_id [site_node_mount_application -return package_id $node_id $package_key $package_key $package_key] + set package_id [dotlrn::instantiate_and_mount $community_id $package_key] # XXX - set up a public calendar inside that instance #