Revert "MDL-38387 cache: fixed inifinite initialisation loop with site id"

This reverts commit 17200a016d.
This commit is contained in:
Aparup Banerjee 2013-03-14 15:39:07 +08:00
parent 3f5ef33fb9
commit 61bd40d562
2 changed files with 3 additions and 26 deletions

2
cache/locallib.php vendored
View file

@ -529,12 +529,10 @@ class cache_config_writer extends cache_config {
* Update the site identifier stored by the cache API.
*
* @param string $siteidentifier
* @return string The new site identifier.
*/
public function update_site_identifier($siteidentifier) {
$this->siteidentifier = md5((string)$siteidentifier);
$this->config_save();
return $this->siteidentifier;
}
}