@@ 1054-1060 (lines=7) @@ | ||
1051 | EE_Error::add_success(sprintf(__('The session variable %s was removed.', 'event_espresso'), |
|
1052 | $reset), __FILE__, __FUNCTION__, __LINE__); |
|
1053 | } |
|
1054 | } else { |
|
1055 | // yeeeeeeeeerrrrrrrrrrr OUT !!!! |
|
1056 | if ($show_all_notices) { |
|
1057 | EE_Error::add_error(sprintf(__('Sorry! %s is a default session datum and can not be reset.', |
|
1058 | 'event_espresso'), $reset), __FILE__, __FUNCTION__, __LINE__); |
|
1059 | } |
|
1060 | $return_value = false; |
|
1061 | } |
|
1062 | } elseif ($show_all_notices) { |
|
1063 | // oops! that session var does not exist! |
|
@@ 1062-1067 (lines=6) @@ | ||
1059 | } |
|
1060 | $return_value = false; |
|
1061 | } |
|
1062 | } elseif ($show_all_notices) { |
|
1063 | // oops! that session var does not exist! |
|
1064 | EE_Error::add_error(sprintf(__('The session item provided, %s, is invalid or does not exist.', |
|
1065 | 'event_espresso'), $reset), __FILE__, __FUNCTION__, __LINE__); |
|
1066 | $return_value = false; |
|
1067 | } |
|
1068 | } // end of foreach |
|
1069 | return $return_value; |
|
1070 | } |