Code Duplication    Length = 6-7 lines in 2 locations

core/EE_Session.core.php 2 locations

@@ 1088-1094 (lines=7) @@
1085
                            __LINE__
1086
                        );
1087
                    }
1088
                } else {
1089
                    // yeeeeeeeeerrrrrrrrrrr OUT !!!!
1090
                    if ($show_all_notices) {
1091
                        EE_Error::add_error(
1092
                            sprintf(
1093
                                __(
1094
                                    'Sorry! %s is a default session datum and can not be reset.',
1095
                                    'event_espresso'
1096
                                ),
1097
                                $reset
@@ 1106-1111 (lines=6) @@
1103
                    }
1104
                    $return_value = false;
1105
                }
1106
            } elseif ($show_all_notices) {
1107
                // oops! that session var does not exist!
1108
                EE_Error::add_error(
1109
                    sprintf(
1110
                        __(
1111
                            'The session item provided, %s, is invalid or does not exist.',
1112
                            'event_espresso'
1113
                        ),
1114
                        $reset