Actions
Task #29340
closedCheck usage of hash_base.
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-08-30
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
While checking the use of hash_base in class.tslibfe.php, I found the $this->hash_base is only used in to set $this->config['hash_base'] in generatePage_preProcessing (with a comment that it is used for caching informational purposes). But a grep revealed no further usage of either var's. So maybe that could get deprecated and removed in the future.
Updated by Björn Pedersen over 12 years ago
[9:14] webmaster@wwwtest % pwd /home/webmaster/frm2/typo3_src_git [9:14] webmaster@wwwtest % find . -name \*.php -print0 | xargs -0 grep hash_base ./typo3/sysext/cms/tslib/class.tslib_fe.php: var $hash_base=''; // Loaded with the serialized array that is used for generating a hashstring for the cache ./typo3/sysext/cms/tslib/class.tslib_fe.php: * @return string MD5 hash of $this->hash_base which is a serialized version of there variables. ./typo3/sysext/cms/tslib/class.tslib_fe.php: $this->hash_base = serialize( ./typo3/sysext/cms/tslib/class.tslib_fe.php: return md5($this->hash_base); ./typo3/sysext/cms/tslib/class.tslib_fe.php: $this->config['hash_base'] = $this->hash_base; // For cache management informational purposes.
Updated by Alexander Opitz over 10 years ago
- Status changed from New to Resolved
Applied in changeset c048755e7229f10f5393f874ef24a18fef2b4e10.
Actions