[Slim-Checkins] r33686 - /7.7/trunk/server/Slim/Utils/DbCache.pm

[email protected]
Newsgroups gmane.music.equipment.slimdevices.cvs
Message-ID <[email protected]>
Author: mherger
Date: Thu Nov 10 08:32:00 2011
New Revision: 33686

URL: http://svn.slimdevices.com/slim?rev=33686&view=rev
Log:
Bug: n/a
Description: values _larger_ than 30 days are absolute

Modified:
    7.7/trunk/server/Slim/Utils/DbCache.pm

Modified: 7.7/trunk/server/Slim/Utils/DbCache.pm
URL: http://svn.slimdevices.com/slim/7.7/trunk/server/Slim/Utils/DbCache.pm?rev=33686&r1=33685&r2=33686&view=diff
==============================================================================
--- 7.7/trunk/server/Slim/Utils/DbCache.pm (original)
+++ 7.7/trunk/server/Slim/Utils/DbCache.pm Thu Nov 10 08:32:00 2011
@@ -165,7 +165,7 @@
 
 	# "If value is less than 60*60*24*30 (30 days), time is assumed to be
 	# relative from the present. If larger, it's considered an absolute Unix time."
-	if ( $expiry < 2592000 ) {
+	if ( $expiry <= 2592000 ) {
 		$expiry += time();
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.