]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-18244 sql_length() - deprecate old use of function
authorstronk7 <stronk7>
Sun, 15 Feb 2009 23:18:49 +0000 (23:18 +0000)
committerstronk7 <stronk7>
Sun, 15 Feb 2009 23:18:49 +0000 (23:18 +0000)
lib/deprecatedlib.php

index cb5ea143687c40ae0565d4f9af26ca7478847de7..8e3d1978caddd033f66ac5626e14a0cf1552a28c 100644 (file)
@@ -977,6 +977,10 @@ function sql_order_by_text($fieldname, $numchars=32) {
     error('sql_order_by_text() not available anymore');
 }
 
+function sql_length($fieldname) {
+    error('sql_length() not available anymore');
+}
+
 function sql_concat_join($separator="' '", $elements=array()) {
     error('sql_concat_join() not available anymore');
 }