Resolves #49463: Make extension version available to other extensions
authorstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 27 Jun 2013 03:41:58 +0000 (03:41 +0000)
committerstan <stan@735d13b6-9817-0410-8766-e36946ffe9aa>
Thu, 27 Jun 2013 03:41:58 +0000 (03:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/static_info_tables/trunk@76773 735d13b6-9817-0410-8766-e36946ffe9aa

ChangeLog
ext_localconf.php

index b093ae0..3e6a183 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2013-06-26  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Resolves #49462: Class tx_staticinfotables_pi1 not always available
+       * Resolves #49463: Make extension version available to other extensions
 
 2013-06-17  Stanislas Rolland  <typo3@sjbr.ca>
 
index b470231..7a6abae 100644 (file)
@@ -80,15 +80,12 @@ if (isset($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['tables']) && is_arra
 }
 unset($labelTable);
 
-// Enabling the Static Info Tables Manager module, but only if dbal is not installed
-$GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['enableManager'] = 0;
-//if (!\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('dbal')) {
-       $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['enableManager'] = isset($_EXTCONF['enableManager']) ? $_EXTCONF['enableManager'] : '0';
-       if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['enableManager']) {
-               // Make the extension version and constraints available when creating language packs
-               require_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'ext_emconf.php');
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['version'] = $EM_CONF[$_EXTKEY]['version'];
-               $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['constraints'] = $EM_CONF[$_EXTKEY]['constraints'];
-       }
-//}
+// Enabling the Static Info Tables Manager module
+$GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['enableManager'] = isset($_EXTCONF['enableManager']) ? $_EXTCONF['enableManager'] : '0';
+
+// Make the extension version and constraints available when creating language packs and to other extensions
+require_once(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'ext_emconf.php');
+$GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['version'] = $EM_CONF[$_EXTKEY]['version'];
+$GLOBALS['TYPO3_CONF_VARS']['EXTCONF'][$_EXTKEY]['constraints'] = $EM_CONF[$_EXTKEY]['constraints'];
+
 ?>
\ No newline at end of file