Merge branch 'MDL-61240_34' of git://github.com/stronk7/moodle into MOODLE_34_STABLE

This commit is contained in:
Andrew Nicols
2018-01-22 11:39:33 +08:00
+1 -1
View File
@@ -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 ();