Project

General

Profile

Bug #20570 ยป 11269.diff

Administrator Admin, 2009-06-05 09:51

View differences:

typo3/sysext/cms/layout/db_new_content_el.php (working copy)
* @return array Returns the content of wizardArray() function...
*/
function getWizardItems() {
return $this->wizardArray();
$identifier = md5($this->id . $this->sys_language);
// look up in cache
$array = $GLOBALS['typo3CacheManager']->getCache('cache_hash')->get($identifier);
if ($array === false) {
$array = $this->wizardArray();
// store content in cache
$GLOBALS['typo3CacheManager']->getCache('cache_hash')->set($identifier, $array, array('ident_newCEWizardItems'), 0);
}
return $array;
}
/**
    (1-1/1)