Index: openacs-4/packages/cms/tcl/content-add-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/cms/tcl/content-add-procs.tcl,v
diff -u -r1.1 -r1.2
--- openacs-4/packages/cms/tcl/content-add-procs.tcl	20 Apr 2001 20:51:09 -0000	1.1
+++ openacs-4/packages/cms/tcl/content-add-procs.tcl	28 Jun 2001 05:50:12 -0000	1.2
@@ -19,7 +19,7 @@
 # @param content_type The content type of the item
 # @param item_id The item id
 
-proc content_add::content_method_html { db content_type item_id } {
+ad_proc content_add::content_method_html { content_type item_id } {
     
     set content_method_html ""
 
@@ -34,7 +34,7 @@
         mime_type like ('%text/%')
       and
         content_type = :content_type
-    " -db $db
+    "
 
     template::query mime_type_count onevalue "
       select
@@ -43,7 +43,7 @@
         cr_content_mime_type_map
       where
         content_type = :content_type
-    " -db $db
+    " 
 
     if { $mime_type_count > 0 } {