Code Duplication    Length = 4-4 lines in 2 locations

admin_pages/messages/Messages_Admin_Page.core.php 2 locations

@@ 2924-2927 (lines=4) @@
2921
		//do check to verify we have a valid status.
2922
		$status = $this->_req_data['status'];
2923
2924
		if ( $status != 'off' && $status != 'on' ) {
2925
			EE_Error::add_error(
2926
				sprintf(
2927
					__( 'The given status (%s) is not valid. Must be "off" or "on"', 'event_espresso' ),
2928
					$this->_req_data[ 'status' ]
2929
				),
2930
				__FILE__,
@@ 2992-2995 (lines=4) @@
2989
		//do check to verify we have a valid status.
2990
		$status = $this->_req_data['status'];
2991
2992
		if ( $status != 'activate' && $status != 'deactivate' ) {
2993
			EE_Error::add_error(
2994
				sprintf(
2995
					__('The given status (%s) is not valid. Must be "active" or "inactive"', 'event_espresso'),
2996
					$this->_req_data['status']
2997
				),
2998
				__FILE__, __FUNCTION__, __LINE__