mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
Merge branch 'MDL-61240' of git://github.com/stronk7/moodle
This commit is contained in:
commit
6092574ddf
@ -443,7 +443,7 @@ class sqlsrv_native_moodle_database extends moodle_database {
|
||||
* @return array of table names in lowercase and without prefix
|
||||
*/
|
||||
public function get_tables($usecache = true) {
|
||||
if ($usecache and count($this->tables) > 0) {
|
||||
if ($usecache and $this->tables !== null) {
|
||||
return $this->tables;
|
||||
}
|
||||
$this->tables = array ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user