Index: openacs-4/packages/evaluation-portlet/tcl/apm-callback-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/evaluation-portlet/tcl/apm-callback-procs.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/evaluation-portlet/tcl/apm-callback-procs.tcl 7 Apr 2005 18:57:35 -0000 1.7 +++ openacs-4/packages/evaluation-portlet/tcl/apm-callback-procs.tcl 8 Aug 2006 21:26:44 -0000 1.8 @@ -33,171 +33,3 @@ } -ad_proc -private evaluation_assignments_portlet::after_install {} { - Create the datasources needed by the evaluation assignments portlet. -} { - - db_transaction { - set ds_id [portal::datasource::new \ - -name "evaluation_assignments_portlet" \ - -description "[_ evaluation-portlet.lt_Evaluation_Assignment]"] - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key shadeable_p \ - -value t - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key hideable_p \ - -value t - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key user_editable_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key shaded_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key link_hideable_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p f \ - -key package_id \ - -value "" - - register_portal_datasource_impl - - } -} - -ad_proc -private evaluation_evaluations_portlet::after_install {} { - Create the datasources needed by the evaluation evaluations portlet. -} { - - db_transaction { - set ds_id [portal::datasource::new \ - -name "evaluation_evaluations_portlet" \ - -description "[_ evaluation-portlet.lt_Evaluation_Evaluation]"] - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key shadeable_p \ - -value t - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key hideable_p \ - -value t - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key user_editable_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key shaded_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key link_hideable_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p f \ - -key package_id \ - -value "" - - register_portal_datasource_impl - - } -} - -ad_proc -private evaluation_admin_portlet::after_install {} { - Create the datasources needed by the evaluation portlet. -} { - - db_transaction { - set ds_id [portal::datasource::new \ - -name "evaluation_admin_portlet" \ - -description "[_ evaluation-portlet.lt_Evaluation_Admin_Port]"] - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key shadeable_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key hideable_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key user_editable_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key shaded_p \ - -value f - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p t \ - -key link_hideable_p \ - -value t - - portal::datasource::set_def_param \ - -datasource_id $ds_id \ - -config_required_p t \ - -configured_p f \ - -key package_id \ - -value "" - - register_portal_datasource_impl - } -} - -