Code Duplication    Length = 7-8 lines in 4 locations

typo3/sysext/backend/Classes/Controller/ContentElement/MoveElementController.php 1 location

@@ 91-97 (lines=7) @@
88
    /**
89
     * Constructor
90
     */
91
    public function __construct()
92
    {
93
        $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
94
        $this->getLanguageService()->includeLLFile('EXT:lang/Resources/Private/Language/locallang_misc.xlf');
95
        $GLOBALS['SOBE'] = $this;
96
        $this->init();
97
    }
98
99
    /**
100
     * Constructor, initializing internal variables.

typo3/sysext/backend/Classes/Controller/Wizard/TableController.php 1 location

@@ 117-124 (lines=8) @@
114
    /**
115
     * Constructor
116
     */
117
    public function __construct()
118
    {
119
        $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
120
        $this->getLanguageService()->includeLLFile('EXT:lang/Resources/Private/Language/locallang_wizards.xlf');
121
        $GLOBALS['SOBE'] = $this;
122
123
        $this->init();
124
    }
125
126
    /**
127
     * Initialization of the class

typo3/sysext/backend/Classes/Controller/File/FileUploadController.php 1 location

@@ 75-81 (lines=7) @@
72
    /**
73
     * Constructor
74
     */
75
    public function __construct()
76
    {
77
        $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
78
        $GLOBALS['SOBE'] = $this;
79
        $this->getLanguageService()->includeLLFile('EXT:lang/Resources/Private/Language/locallang_misc.xlf');
80
        $this->init();
81
    }
82
83
    /**
84
     * Initialize

typo3/sysext/backend/Classes/Controller/NewRecordController.php 1 location

@@ 160-166 (lines=7) @@
157
    /**
158
     * Constructor
159
     */
160
    public function __construct()
161
    {
162
        $this->moduleTemplate = GeneralUtility::makeInstance(ModuleTemplate::class);
163
        $GLOBALS['SOBE'] = $this;
164
        $this->getLanguageService()->includeLLFile('EXT:lang/Resources/Private/Language/locallang_misc.xlf');
165
        $this->init();
166
    }
167
168
    /**
169
     * Constructor function for the class