From 92c99211afd952613c817f16cb89f2194634835a Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Thu, 1 Nov 2012 10:40:32 +0800 Subject: [PATCH] MDL-25290 MUC - add dbname to settings hash --- lib/dml/moodle_database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dml/moodle_database.php b/lib/dml/moodle_database.php index b261bb1f74a3a..c81dcf633c265 100644 --- a/lib/dml/moodle_database.php +++ b/lib/dml/moodle_database.php @@ -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; }