[TASK] Cleanup EXT:indexed_search
[Packages/TYPO3.CMS.git] / typo3 / sysext / indexed_search / Classes / Controller / ModuleController.php
index 5affbdc..ab336f6 100644 (file)
@@ -69,6 +69,14 @@ class ModuleController {
         */
        public $content;
 
+       /**
+        * Constructor
+        */
+       public function __construct() {
+               $GLOBALS['BE_USER']->modAccess($GLOBALS['MCONF'], TRUE);
+               \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('indexed_search', TRUE);
+       }
+
        /**
         * Initialization
         *