[TASK] EXT:scheduler Uniform extension directory structure 86/41686/2
authorMichael Oehlhof <typo3@oehlhof.de>
Sat, 18 Jul 2015 17:27:51 +0000 (19:27 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 20 Jul 2015 14:01:41 +0000 (16:01 +0200)
Moved the code from the mod1 directory to the Modules/Scheduler directory.

Resolves: #68351
Releases: master
Change-Id: Icf4e737c905873e96d54334f83324bdb364cbc6b
Reviewed-on: http://review.typo3.org/41686
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
Reviewed-by: Frederic Gaus <frederic.gaus@flagbit.de>
Tested-by: Frederic Gaus <frederic.gaus@flagbit.de>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/scheduler/Modules/Scheduler/index.php [new file with mode: 0644]
typo3/sysext/scheduler/ext_tables.php
typo3/sysext/scheduler/mod1/index.php [deleted file]
typo3/sysext/scheduler/mod1/moduleicon.gif [deleted file]

diff --git a/typo3/sysext/scheduler/Modules/Scheduler/index.php b/typo3/sysext/scheduler/Modules/Scheduler/index.php
new file mode 100644 (file)
index 0000000..e6e39eb
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+/*
+ * This file is part of the TYPO3 CMS project.
+ *
+ * It is free software; you can redistribute it and/or modify it under
+ * the terms of the GNU General Public License, either version 2
+ * of the License, or any later version.
+ *
+ * For the full copyright and license information, please read the
+ * LICENSE.txt file that was distributed with this source code.
+ *
+ * The TYPO3 project - inspiring people to share!
+ */
+
+$GLOBALS['SOBE'] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController::class);
+$GLOBALS['SOBE']->init();
+$GLOBALS['SOBE']->main();
+$GLOBALS['SOBE']->render();
index 24941dc..bf6b399 100644 (file)
@@ -7,14 +7,14 @@ if (TYPO3_MODE === 'BE') {
                'system',
                'txschedulerM1',
                '',
-               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'mod1/',
+               'EXT:scheduler/Modules/Scheduler/',
                array(
                        'script' => '_DISPATCH',
                        'access' => 'admin',
                        'name' => 'system_txschedulerM1',
                        'labels' => array(
                                'tabs_images' => array(
-                                       'tab' => '../Resources/Public/Icons/module-scheduler.svg',
+                                       'tab' => 'EXT:scheduler/Resources/Public/Icons/module-scheduler.svg',
                                ),
                                'll_ref' => 'LLL:EXT:scheduler/Resources/Private/Language/locallang_mod.xlf',
                        ),
diff --git a/typo3/sysext/scheduler/mod1/index.php b/typo3/sysext/scheduler/mod1/index.php
deleted file mode 100644 (file)
index e6e39eb..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-/*
- * This file is part of the TYPO3 CMS project.
- *
- * It is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License, either version 2
- * of the License, or any later version.
- *
- * For the full copyright and license information, please read the
- * LICENSE.txt file that was distributed with this source code.
- *
- * The TYPO3 project - inspiring people to share!
- */
-
-$GLOBALS['SOBE'] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Scheduler\Controller\SchedulerModuleController::class);
-$GLOBALS['SOBE']->init();
-$GLOBALS['SOBE']->main();
-$GLOBALS['SOBE']->render();
diff --git a/typo3/sysext/scheduler/mod1/moduleicon.gif b/typo3/sysext/scheduler/mod1/moduleicon.gif
deleted file mode 100644 (file)
index 30dfa3f..0000000
Binary files a/typo3/sysext/scheduler/mod1/moduleicon.gif and /dev/null differ