[BUGFIX] EM update module doesn't accept cache_extension table
authorSteffen Kamper <info@sk-typo3.de>
Wed, 9 Mar 2011 17:30:10 +0000 (18:30 +0100)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 22 Mar 2011 11:02:11 +0000 (12:02 +0100)
commit1f6e6a18ff5806dc21255ba61f67eacf72b5e0dd
tree53767a7bdea7e926dc097fdd2fd9daab8daf3d4e
parent0873322e149d2c4c1c7bca805ccfcc769cf16f47
[BUGFIX] EM update module doesn't accept cache_extension table

You see only the message:
To get and update the list, go to the section "Import extensions" and use the button "Retrieve/Update" even if table is filled.
The reason is that it looks for typo3temp/extensions.xml.hz instead checking if the table has records.

Solution:
Check table count instead.

Change-Id: Ide26c0fc5a3963f6bfa1a134ebfdbbf5f0b9b768
Resolves: #M17907
Reviewed-on: http://review.typo3.org/1232
Reviewed-by: Steffen Kamper <info@sk-typo3.de>
Tested-by: Steffen Kamper <info@sk-typo3.de>
typo3/sysext/em/classes/index.php