From 6b4b356f826c1d101878be2718c2ef7032d96ef1 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 4 Sep 2006 22:42:56 +0000 Subject: [PATCH] Using the standard sql_as() function, although it could be not used. --- mod/glossary/sql.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/mod/glossary/sql.php b/mod/glossary/sql.php index 915353d246..baf54ac983 100644 --- a/mod/glossary/sql.php +++ b/mod/glossary/sql.php @@ -18,14 +18,7 @@ /// fullpivot indicate if the whole pivot should be compared agasint the db or just the first letter /// printpivot indicate if the pivot should be printed or not - switch ($CFG->dbtype) { - case 'postgres7': - $as = 'as'; - break; - case 'mysql': - $as = ''; - break; - } + $as = sql_as(); ///To use or no the AS keyword on column aliases switch ( $sortkey ) { case "CREATION": -- 2.39.5