mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Merge branch 'MDL-49551_master' of git://github.com/markn86/moodle
This commit is contained in:
commit
12a9ae5c97
2 changed files with 4 additions and 3 deletions
|
@ -1083,11 +1083,13 @@ abstract class moodle_database {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable/disable detailed sql logging
|
* Enable/disable detailed sql logging
|
||||||
|
*
|
||||||
|
* @deprecated since Moodle 2.9
|
||||||
|
* @todo MDL-49824 This will be deleted in Moodle 3.1.
|
||||||
* @param bool $state
|
* @param bool $state
|
||||||
*/
|
*/
|
||||||
public function set_logging($state) {
|
public function set_logging($state) {
|
||||||
// adodb sql logging shares one table without prefix per db - this is no longer acceptable :-(
|
debugging('set_logging() is deprecated and will not be replaced.', DEBUG_DEVELOPER);
|
||||||
// we must create one table shared by all drivers
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -5418,7 +5418,6 @@ class moodle_database_for_testing extends moodle_database {
|
||||||
protected function normalise_value($column, $value) {}
|
protected function normalise_value($column, $value) {}
|
||||||
public function set_debug($state) {}
|
public function set_debug($state) {}
|
||||||
public function get_debug() {}
|
public function get_debug() {}
|
||||||
public function set_logging($state) {}
|
|
||||||
public function change_database_structure($sql) {}
|
public function change_database_structure($sql) {}
|
||||||
public function execute($sql, array $params=null) {}
|
public function execute($sql, array $params=null) {}
|
||||||
public function get_recordset_sql($sql, array $params=null, $limitfrom=0, $limitnum=0) {}
|
public function get_recordset_sql($sql, array $params=null, $limitfrom=0, $limitnum=0) {}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue