MDL-32071 fix incorrect get_dbfamily() call

This commit is contained in:
Petr Skoda
2012-03-16 10:31:30 +01:00
parent 69439955e6
commit 1f373dfef0
@@ -192,7 +192,7 @@ function ewiki_database_moodle($action, &$args, $sw1, $sw2) {
array("flags","meta","lastmodified");
*/
case "GETALL":
switch ($DB->get_db_family()) {
switch ($DB->get_dbfamily()) {
case 'postgres':
// All but the latest version eliminated by DISTINCT
// ON (pagename)