From: tjhunt Date: Wed, 20 Aug 2008 08:28:07 +0000 (+0000) Subject: MDL-16141 Oops, and another copy and paste error meant that there was a misleading... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2e46e4610ac0ad5012f09d419211ada238dc63b5;p=moodle.git MDL-16141 Oops, and another copy and paste error meant that there was a misleading comment. --- diff --git a/lib/dml/mssql_adodb_moodle_database.php b/lib/dml/mssql_adodb_moodle_database.php index 6bb96da626..a617edc55f 100644 --- a/lib/dml/mssql_adodb_moodle_database.php +++ b/lib/dml/mssql_adodb_moodle_database.php @@ -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))"; } diff --git a/lib/dml/oci8po_adodb_moodle_database.php b/lib/dml/oci8po_adodb_moodle_database.php index 02a1a71876..eff21664df 100644 --- a/lib/dml/oci8po_adodb_moodle_database.php +++ b/lib/dml/oci8po_adodb_moodle_database.php @@ -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))"; }