improved POD for C4::Serials::HasSubscriptionExpired()
authorGalen Charlton <galen.charlton@liblime.com>
Sun, 26 Apr 2009 14:48:41 +0000 (09:48 -0500)
committerGalen Charlton <galen.charlton@liblime.com>
Sun, 26 Apr 2009 14:50:55 +0000 (09:50 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
C4/Serials.pm

index 5709519..aedc9c5 100644 (file)
@@ -1778,12 +1778,14 @@ sub ItemizeSerials {
 
 =over 4
 
-1 or 0 = HasSubscriptionExpired($subscriptionid)
+$has_expired = HasSubscriptionExpired($subscriptionid)
 
 the subscription has expired when the next issue to arrive is out of subscription limit.
 
 return :
-1 if true, 0 if false.
+0 if the subscription has not expired
+1 if the subscription has expired
+2 if has subscription does not have a valid expiration date set
 
 =back