]> git.mjollnir.org Git - moodle.git/commitdiff
mod-forum MDL-19620 Replaced get_db_family with get_dbfamily
authorsamhemelryk <samhemelryk>
Thu, 25 Jun 2009 03:08:05 +0000 (03:08 +0000)
committersamhemelryk <samhemelryk>
Thu, 25 Jun 2009 03:08:05 +0000 (03:08 +0000)
mod/forum/search.php

index 6005d7238f5ffc78e0ef87b5e0924688580eaff1..d59212a60540b2c6ae3ffb324c539c344d738e3e 100644 (file)
@@ -273,7 +273,7 @@ function forum_print_big_search_form($course) {
     echo '<td class="c1"><input type="text" size="35" name="notwords" id="notwords" value="'.s($notwords, true).'" alt="" /></td>';
     echo '</tr>';
 
-    if ($DB->get_db_family() == 'mysql' || $DB->get_db_family() == 'postgres') {
+    if ($DB->get_dbfamily() == 'mysql' || $DB->get_dbfamily() == 'postgres') {
         echo '<tr>';
         echo '<td class="c0"><label for="fullwords">'.get_string('searchfullwords', 'forum').'</label></td>';
         echo '<td class="c1"><input type="text" size="35" name="fullwords" id="fullwords" value="'.s($fullwords, true).'" alt="" /></td>';