Code Duplication    Length = 5-7 lines in 2 locations

core/EE_Session.core.php 2 locations

@@ 989-995 (lines=7) @@
986
					}
987
					$return_value = !isset($return_value) ? TRUE : $return_value;
988
989
				} else {
990
					// yeeeeeeeeerrrrrrrrrrr OUT !!!!
991
					if ( $show_all_notices ) {
992
						EE_Error::add_error( sprintf( __( 'Sorry! %s is a default session datum and can not be reset.', 'event_espresso' ), $reset ), __FILE__, __FUNCTION__, __LINE__ );
993
					}
994
					$return_value = FALSE;
995
				}
996
997
			} else if ( $show_all_notices ) {
998
				// oops! that session var does not exist!
@@ 997-1001 (lines=5) @@
994
					$return_value = FALSE;
995
				}
996
997
			} else if ( $show_all_notices ) {
998
				// oops! that session var does not exist!
999
				EE_Error::add_error( sprintf( __( 'The session item provided, %s, is invalid or does not exist.', 'event_espresso' ), $reset ), __FILE__, __FUNCTION__, __LINE__ );
1000
				$return_value = FALSE;
1001
			}
1002
1003
		} // end of foreach
1004