Code Duplication    Length = 6-7 lines in 2 locations

core/EE_Session.core.php 2 locations

@@ 1146-1152 (lines=7) @@
1143
                            __LINE__
1144
                        );
1145
                    }
1146
                } else {
1147
                    // yeeeeeeeeerrrrrrrrrrr OUT !!!!
1148
                    if ($show_all_notices) {
1149
                        EE_Error::add_error(
1150
                            sprintf(
1151
                                __(
1152
                                    'Sorry! %s is a default session datum and can not be reset.',
1153
                                    'event_espresso'
1154
                                ),
1155
                                $reset
@@ 1164-1169 (lines=6) @@
1161
                    }
1162
                    $return_value = false;
1163
                }
1164
            } elseif ($show_all_notices) {
1165
                // oops! that session var does not exist!
1166
                EE_Error::add_error(
1167
                    sprintf(
1168
                        __(
1169
                            'The session item provided, %s, is invalid or does not exist.',
1170
                            'event_espresso'
1171
                        ),
1172
                        $reset