replaced vsprintf to implode

This commit is contained in:
Val Bancer 2017-12-28 16:15:14 +01:00 committed by GitHub
parent 7ae84e3d5d
commit 0f51c75157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ abstract class CacheEngine {
$prefix = '';
if (!empty($this->_groupPrefix)) {
$prefix = md5(vsprintf($this->_groupPrefix, $this->groups()));
$prefix = md5(implode('_', $this->groups()));
}
$key = preg_replace('/[\s]+/', '_', strtolower(trim(str_replace(array(DS, '/', '.'), '_', strval($key)))));