Index: openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl,v diff -u -N -r1.1 -r1.2 --- openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl 20 Apr 2001 20:51:10 -0000 1.1 +++ openacs-4/packages/cms/www/modules/types/content-method-unregister.tcl 24 May 2001 23:57:17 -0000 1.2 @@ -14,19 +14,16 @@ } -set db [template::begin_db_transaction] - -template::query content_method_unregister dml " +db_transaction { + db_exec_plsql content_method_unregister " begin content_method.remove_method ( content_type => :content_type, content_method => :content_method ); end; " +} -template::end_db_transaction -template::release_db_handle - -template::forward $return_url \ No newline at end of file +template::forward $return_url