[TASK] Cleanup ext:recordlist
[Packages/TYPO3.CMS.git] / typo3 / sysext / recordlist / Classes / RecordList.php
index fad6eae..d763f75 100644 (file)
@@ -161,6 +161,14 @@ class RecordList {
        public $content;
 
        /**
+        * Constructor
+        */
+       public function __construct() {
+               $GLOBALS['LANG']->includeLLFile('EXT:lang/locallang_mod_web_list.xlf');
+               $GLOBALS['BE_USER']->modAccess($GLOBALS['MCONF'], 1);
+       }
+
+       /**
         * Initializing the module
         *
         * @return void