Code Duplication    Length = 3-7 lines in 2 locations

core/EE_System.core.php 2 locations

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