Project

General

Profile

Bug #20245 » 10792.diff

Administrator Admin, 2009-11-06 23:03

View differences:

typo3/mod/tools/em/class.em_index.php (Arbeitskopie)
$localmd5 = md5_file(PATH_site.'typo3temp/extensions.xml.gz');
}
// count cached extensions. If cache is empty re-fill it
$cacheCount = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('extkey', 'cache_extensions', '1=1');
if($extmd5 === false) {
$content .= '<p>' .
sprintf($GLOBALS['LANG']->getLL('ext_import_md5_not_updated'),
$mirror . 'extensions.md5'
) .
$GLOBALS['LANG']->getLL('translation_problems') . '</p>';
} elseif($extmd5 == $localmd5) {
} elseif($extmd5 == $localmd5 && $cacheCount) {
$flashMessage = t3lib_div::makeInstance(
't3lib_FlashMessage',
$GLOBALS['LANG']->getLL('ext_import_list_unchanged'),
(1-1/2)