Project

General

Profile

Bug #20245 » 10792_v2.diff

Administrator Admin, 2009-11-07 19:26

View differences:

ChangeLog (Arbeitskopie)
2009-11-07 Rupert Germann <rupi@gmx.li>
* Fixed bug #10792: Extensions cannot be looked up, when cache_extensions table is empty
* Follow-up to bug #12499: re-added the removed function call and moved the deprecationLog call
2009-11-07 Benjamin Mack <benni@typo3.org>
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');
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'),
(2-2/2)