]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-14679 tidy phpdocs for sql_substr() a bit
authorstronk7 <stronk7>
Fri, 9 Oct 2009 10:02:39 +0000 (10:02 +0000)
committerstronk7 <stronk7>
Fri, 9 Oct 2009 10:02:39 +0000 (10:02 +0000)
lib/dml/moodle_database.php
lib/dml/mssql_native_moodle_database.php

index ca376eb499ca7a8221cf9d914d39f05864107714..cf303a51818168b3048a7999fc1d323214ebeaee 100644 (file)
@@ -1752,7 +1752,7 @@ abstract class moodle_database {
     }
 
     /**
-     * Returns the proper substr() function for each DB.
+     * Returns the proper substr() SQL text used to extract substrings from DB
      * NOTE: this was originally returning only function name
      *
      * @param string $expr some string field, no aggregates
index c524021a974ad3208826c13c44fa9def85382704..1b58238c9274627c14119dc505c8e5ee407ae896 100644 (file)
@@ -1139,7 +1139,7 @@ class mssql_native_moodle_database extends moodle_database {
     }
 
     /**
-     * Returns the proper substr() function for each DB.
+     * Returns the proper substr() SQL text used to extract substrings from DB
      * NOTE: this was originally returning only function name
      *
      * @param string $expr some string field, no aggregates