From 62d020ea22f9e26e60437cdba267ccc723854dd0 Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Wed, 6 Jan 2016 10:31:38 +0800 Subject: [PATCH] MDL-49824 core_dml: final deprecation of set_logging() --- lib/dml/moodle_database.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/dml/moodle_database.php b/lib/dml/moodle_database.php index 89792c651e8..ed9ab8e3209 100644 --- a/lib/dml/moodle_database.php +++ b/lib/dml/moodle_database.php @@ -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.'); } /**