Code Duplication    Length = 3-7 lines in 2 locations

core/EE_System.core.php 2 locations

@@ 1139-1145 (lines=7) @@
1136
     */
1137
    public function core_loaded_and_ready()
1138
    {
1139
        if (
1140
            $this->request->isAdmin()
1141
            || $this->request->isEeAjax()
1142
            || $this->request->isFrontend()
1143
        ) {
1144
            $this->loader->getShared('EE_Session');
1145
        }
1146
        do_action('AHEE__EE_System__core_loaded_and_ready');
1147
        // load_espresso_template_tags
1148
        if (
@@ 1155-1157 (lines=3) @@
1152
            require_once EE_PUBLIC . 'template_tags.php';
1153
        }
1154
        do_action('AHEE__EE_System__set_hooks_for_shortcodes_modules_and_addons');
1155
        if ($this->request->isAdmin() || $this->request->isFrontend() || $this->request->isIframe()) {
1156
            $this->loader->getShared('EventEspresso\core\services\assets\Registry');
1157
        }
1158
    }
1159
1160