From: stronk7 Date: Mon, 30 Oct 2006 17:41:55 +0000 (+0000) Subject: Deprecating sql_as (now the AS keyword is required in COLUMN aliases) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=db3df7266a5abaa5fb74c6901e3e0e3cf85456db;p=moodle.git Deprecating sql_as (now the AS keyword is required in COLUMN aliases) Merged from MOODLE_17_STABLE --- 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;