From db3df7266a5abaa5fb74c6901e3e0e3cf85456db Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 30 Oct 2006 17:41:55 +0000 Subject: [PATCH] Deprecating sql_as (now the AS keyword is required in COLUMN aliases) Merged from MOODLE_17_STABLE --- lib/dmllib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dmllib.php b/lib/dmllib.php index 144a49fbd1..a7bcd45365 100644 --- a/lib/dmllib.php +++ b/lib/dmllib.php @@ -1557,6 +1557,7 @@ function sql_isnull($fieldname) { * AS keyword at all, only columns for postgres. * @uses $CFG * @ return string the keyword + * @deprecated Moodle 1.7 because coding guidelines now enforce to use AS in column aliases */ function sql_as() { global $CFG, $db; -- 2.39.5