From: samhemelryk <samhemelryk>
Date: Thu, 25 Jun 2009 03:08:05 +0000 (+0000)
Subject: mod-forum MDL-19620 Replaced get_db_family with get_dbfamily
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=68533e531a0266a0f1bb4a65ffc07e7ccd4438de;p=moodle.git

mod-forum MDL-19620 Replaced get_db_family with get_dbfamily
---

diff --git a/mod/forum/search.php b/mod/forum/search.php
index 6005d7238f..d59212a605 100644
--- a/mod/forum/search.php
+++ b/mod/forum/search.php
@@ -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>';