Code Duplication    Length = 3-7 lines in 2 locations

core/EE_System.core.php 2 locations

@@ 1154-1160 (lines=7) @@
1151
     */
1152
    public function core_loaded_and_ready()
1153
    {
1154
        if (
1155
            $this->request->isAdmin()
1156
            || $this->request->isEeAjax()
1157
            || $this->request->isFrontend()
1158
        ) {
1159
            $this->loader->getShared('EE_Session');
1160
        }
1161
        do_action('AHEE__EE_System__core_loaded_and_ready');
1162
        // load_espresso_template_tags
1163
        if (
@@ 1170-1172 (lines=3) @@
1167
            require_once EE_PUBLIC . 'template_tags.php';
1168
        }
1169
        do_action('AHEE__EE_System__set_hooks_for_shortcodes_modules_and_addons');
1170
        if ($this->request->isAdmin() || $this->request->isFrontend() || $this->request->isIframe()) {
1171
            $this->loader->getShared('EventEspresso\core\services\assets\Registry');
1172
        }
1173
    }
1174
1175