MDL-49824 core_dml: final deprecation of set_logging()

This commit is contained in:
Mark Nelson 2016-01-06 10:31:38 +08:00
parent ef343c3299
commit 62d020ea22

View File

@ -1095,11 +1095,9 @@ abstract class moodle_database {
* Enable/disable detailed sql logging
*
* @deprecated since Moodle 2.9
* @todo MDL-49824 This will be deleted in Moodle 3.1.
* @param bool $state
*/
public function set_logging($state) {
debugging('set_logging() is deprecated and will not be replaced.', DEBUG_DEVELOPER);
throw new coding_exception('set_logging() can not be used any more.');
}
/**