MDL-47874 dml: add support for replace_all_text to oracle
commitbacbb4e279fbb05ecea1652dcf1b991088b74d0b
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Fri, 31 Oct 2014 01:35:46 +0000 (31 02:35 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Sun, 2 Nov 2014 17:26:18 +0000 (2 18:26 +0100)
tree969632f9284f69eaa953f3cc320502bb343ef8b2
parent32a69a7d7a52ea6a2ee5db845e008f7db4de03bc
MDL-47874 dml: add support for replace_all_text to oracle

And, at the same time, fix the implementation so all databases
will be using sql_substr() instead of harcoded "SUBSTRING".
lib/dml/moodle_database.php
lib/dml/oci_native_moodle_database.php