[!!!][TASK] Deprecate usage of old Extension Manager
authorXavier Perseguers <xavier@typo3.org>
Mon, 19 Sep 2011 11:44:24 +0000 (13:44 +0200)
committerXavier Perseguers <xavier@typo3.org>
Tue, 20 Sep 2011 10:14:17 +0000 (12:14 +0200)
The old Extension Manager should be officially deprecated in order to
concentrate on enhancing the ExtJS-based one.

Change-Id: I6e5b2daf149faa92973f4a3f1c41aaa82cb90ae8
Resolves: #30027
Releases: 4.6
Reviewed-on: http://review.typo3.org/5057
Reviewed-by: Markus Klein
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/em/classes/index.php
typo3/sysext/em/ext_conf_template.txt

index edbc4f1..f796ae5 100644 (file)
@@ -378,12 +378,17 @@ class SC_mod_tools_em_index extends t3lib_SCbase {
 
                if (!is_array($globalSettings)) {
                                // no settings saved yet, set default values
-                       $globalSettings['showOldModules'] = 1;
                        $globalSettings['inlineToWindow'] = 1;
                        $globalSettings['displayMyExtensions'] = 0;
                }
 
-               if ($globalSettings['showOldModules'] == 0) {
+               // @deprecated Old Extension Manager is officially not supported anymore and may be removed anytime
+               $globalSettings['showOldModules'] = isset($GLOBALS['TYPO3_CONF_VARS']['EXT']['showOldModules']) ? (bool)$GLOBALS['TYPO3_CONF_VARS']['EXT']['showOldModules'] : FALSE;
+               if ($globalSettings['showOldModules']) {
+                       t3lib_div::deprecationLog(
+                               'Use of the old Extension Manager is obsolete since TYPO3 4.6 and is as such no longer supported.'
+                       );
+               } else {
                        unset(
                                $this->MOD_MENU['function']['loaded_list'],
                                $this->MOD_MENU['function']['installed_list'],
@@ -2606,4 +2611,4 @@ $SOBE->checkExtObj();
 $SOBE->main();
 $SOBE->printContent();
 
-?>
\ No newline at end of file
+?>
index cd6872f..817b0cf 100644 (file)
@@ -1,6 +1,3 @@
-  # cat=basic; type=boolean; label=LLL:EXT:em/language/locallang.xml:extTemplate_showOldModules
-showOldModules = 1
-
   # cat=basic; type=boolean; label=LLL:EXT:em/language/locallang.xml:extTemplate_inlineToWindow
 inlineToWindow = 1