Remove OK message from SIP2 messages user/tsbere/no_sip2_ok_message
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 31 Oct 2013 14:02:44 +0000 (10:02 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 31 Oct 2013 14:02:44 +0000 (10:02 -0400)
Because having clients constantly say there is a message of "OK" gets annoying
very quickly, especially if it is displayed in a popup message instead of via
a "messages" button.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index 4ed79c7..8c5fde0 100644 (file)
@@ -392,7 +392,7 @@ sub screen_msg {
     my $expire = DateTime::Format::ISO8601->new->parse_datetime(cleanse_ISO8601($u->expire_date));
     return $b if CORE::time > $expire->epoch;
 
-    return 'OK';
+    return '';
 }
 
 sub print_line {            # not implemented