[TASK] Move modAccess and language include in EXT:scheduler
[Packages/TYPO3.CMS.git] / typo3 / sysext / scheduler / mod1 / index.php
index 4f49b7b..3a94b8d 100644 (file)
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
 
-$LANG->includeLLFile('EXT:scheduler/mod1/locallang.xlf');
-$BE_USER->modAccess($MCONF, 1);
-// This checks permissions and exits if the users has no permission for entry.
-// Make instance:
 $SOBE = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController');
 $SOBE->init();
 // Include files?