LP#1246745: Remove OK message from SIP2 messages
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 31 Oct 2013 14:02:44 +0000 (10:02 -0400)
committerBen Shum <bshum@biblio.org>
Thu, 7 Aug 2014 21:48:33 +0000 (17:48 -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>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm

index 69232f1..ac4f05c 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