Bug #16324 » 3800_v3.diff
t3lib/class.t3lib_refindex.php (Arbeitskopie) | ||
---|---|---|
$bodyContent = $testedHowMuch.(count($errors)?implode(LF,$errors):'Index Integrity was perfect!');
|
||
if ($cli_echo) echo $testedHowMuch.(count($errors)?'Updates: '.count($errors):'Index Integrity was perfect!').LF;
|
||
if(!$testOnly) {
|
||
$registry = t3lib_div::makeInstance('t3lib_Registry');
|
||
$registry->set('core', 'sys_refindex_lastUpdate', time());
|
||
}
|
||
return array($headerContent,$bodyContent,count($errors));
|
||
}
|
||
}
|
t3lib/class.t3lib_befunc.php (Arbeitskopie) | ||
---|---|---|
// Check if sys_refindex is empty
|
||
$count = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', 'sys_refindex');
|
||
if (!$count) {
|
||
$registry = t3lib_div::makeInstance('t3lib_Registry');
|
||
$lastRefIndexUpdate = $registry->get('core', 'sys_refindex_lastUpdate');
|
||
if (!$count && $lastRefIndexUpdate) {
|
||
$url = 'sysext/lowlevel/dbint/index.php?&id=0&SET[function]=refindex';
|
||
$warnings["backend_reference"] = sprintf(
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.backend_reference'),
|