MDL-25290 MUC - add dbname to settings hash

This commit is contained in:
Dan Poltawski
2012-11-01 10:41:18 +08:00
parent 3b92a11098
commit 92c99211af
+1 -1
View File
@@ -300,7 +300,7 @@ abstract class moodle_database {
*/
protected function get_settings_hash() {
if (empty($this->settingshash)) {
$this->settingshash = md5($this->dbhost . $this->dbuser . $this->prefix);
$this->settingshash = md5($this->dbhost . $this->dbuser . $this->dbname . $this->prefix);
}
return $this->settingshash;
}