]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16141 Oops, and another copy and paste error meant that there was a misleading...
authortjhunt <tjhunt>
Wed, 20 Aug 2008 08:28:07 +0000 (08:28 +0000)
committertjhunt <tjhunt>
Wed, 20 Aug 2008 08:28:07 +0000 (08:28 +0000)
lib/dml/mssql_adodb_moodle_database.php
lib/dml/oci8po_adodb_moodle_database.php

index 6bb96da6267348d84ddd65e13f04865ca8083a9c..a617edc55fe7743eab0adcd080f38f194461a647 100644 (file)
@@ -131,7 +131,6 @@ class mssql_adodb_moodle_database extends adodb_moodle_database {
      * Returns the SQL for returning searching one string for the location of another.
      */
     public function sql_position($needle, $haystack) {
-        // Implementation using standard SQL.
         return "CHARINDEX(($needle), ($haystack))";
     }
 
index 02a1a71876e49a98b5ebe7923350cc64c780ce59..eff21664dfef98e3824d8cc1ebf3f35af75aa322 100644 (file)
@@ -186,7 +186,6 @@ class oci8po_adodb_moodle_database extends adodb_moodle_database {
      * Returns the SQL for returning searching one string for the location of another.
      */
     public function sql_position($needle, $haystack) {
-        // Implementation using standard SQL.
         return "INSTR(($haystack), ($needle))";
     }