Index: openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 22 Feb 2002 19:00:58 -0000 1.10 +++ openacs-4/packages/acs-tcl/tcl/00-database-procs.tcl 9 Mar 2002 02:00:02 -0000 1.11 @@ -21,11 +21,11 @@ } ad_proc db_package_supports_rdbms_p { db_type_list } { - Returns 1 if db_type_list is empty (needs no database support) or - contains the current RDBMS type. The list is typically built from - the XML database-support node in a packages .info file. + Returns 1 if db_type_list contains the current RDMBS type. A package + intended to run with a given RDBMS must note this in it's package info + file regardless of whether or not it actually uses the database. } { - if { [llength $db_type_list] == 0 || [lsearch $db_type_list [db_type]] != -1 } { + if { [lsearch $db_type_list [db_type]] != -1 } { return 1 }