Changed another bug in the EM: Last update of extensions.xml.gz was not displayed
authorMichael Stucki <michael.stucki@typo3.org>
Tue, 20 Feb 2007 20:44:45 +0000 (20:44 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Tue, 20 Feb 2007 20:44:45 +0000 (20:44 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2057 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/tools/em/class.em_index.php

index b133da9..526d82e 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * Fixed bug in EM: Insecure extensions were still displayed (patch by Karsten Dambekalns)
        * Fixed a typo in class.em_xmlhandler.php
+       * Changed another bug in the EM: Last update of extensions.xml.gz was not displayed
 
 2007-02-20  Oliver Hader  <oh@inpublica.de>
 
index bc1565c..18614e9 100644 (file)
@@ -902,7 +902,7 @@ EXTENSION KEYS:
                                $onCLick = "window.location.href='index.php?CMD[fetchMetaData]=extensions';return false;";
                                $content.= 'Connect to the current mirror and retrieve the current list of available plugins from the TYPO3 Extension Repository.<br />
                                <input type="submit" value="Retrieve/Update" onclick="'.htmlspecialchars($onCLick).'" />';
-                               if (is_file(PATH_site.'typo3temp/extensions.bin'))      {
+                               if (is_file(PATH_site.'typo3temp/extensions.xml.gz'))   {
                                        $dateFormat = $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'];
                                        $timeFormat = $GLOBALS['TYPO3_CONF_VARS']['SYS']['hhmm'];
                                        $content.= ' (last update: '.date($dateFormat.' '.$timeFormat,filemtime(PATH_site.'typo3temp/extensions.xml.gz')).')';