Index: t3lib/class.t3lib_refindex.php =================================================================== --- t3lib/class.t3lib_refindex.php (Revision 7433) +++ t3lib/class.t3lib_refindex.php (Arbeitskopie) @@ -1059,6 +1059,11 @@ $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', $GLOBALS['EXEC_TIME']); + } + return array($headerContent,$bodyContent,count($errors)); } } @@ -1068,4 +1073,4 @@ include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_refindex.php']); } -?> \ No newline at end of file +?> Index: t3lib/class.t3lib_befunc.php =================================================================== --- t3lib/class.t3lib_befunc.php (Revision 7433) +++ t3lib/class.t3lib_befunc.php (Arbeitskopie) @@ -4231,7 +4231,9 @@ // 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'),