Skip to content

Commit

Permalink
MDL-25290 MUC - add dbname to settings hash
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Nov 1, 2012
1 parent 3b92a11 commit 92c9921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dml/moodle_database.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ protected function store_settings($dbhost, $dbuser, $dbpass, $dbname, $prefix, a
*/
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;
}
Expand Down

0 comments on commit 92c9921

Please sign in to comment.