Code Duplication    Length = 6-7 lines in 2 locations

core/EE_Session.core.php 2 locations

@@ 1082-1088 (lines=7) @@
1079
                            __LINE__
1080
                        );
1081
                    }
1082
                } else {
1083
                    // yeeeeeeeeerrrrrrrrrrr OUT !!!!
1084
                    if ($show_all_notices) {
1085
                        EE_Error::add_error(
1086
                            sprintf(
1087
                                __(
1088
                                    'Sorry! %s is a default session datum and can not be reset.',
1089
                                    'event_espresso'
1090
                                ),
1091
                                $reset
@@ 1100-1105 (lines=6) @@
1097
                    }
1098
                    $return_value = false;
1099
                }
1100
            } elseif ($show_all_notices) {
1101
                // oops! that session var does not exist!
1102
                EE_Error::add_error(
1103
                    sprintf(
1104
                        __(
1105
                            'The session item provided, %s, is invalid or does not exist.',
1106
                            'event_espresso'
1107
                        ),
1108
                        $reset