XFileSharing Pro - Bug in cron.pl [BUG FIX]

User avatar
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

Bug in cron.pl [BUG FIX]

#1 Postby PilgrimX182 » May 30, 2008 1:29 pm

Today we've found dirty bug in cron.pl:
Due to it Anonymous files wasn't expiring correctly.

To fix this bug, download latest version from Client area with updated cron.pl or implement this quick hack:

in cron.pl find

Code: Select all

AND usr_premium_expire<NOW()
and replace with

Code: Select all

AND (usr_premium_expire IS NULL OR usr_premium_expire<NOW())
Sorry about this guys, this was regression bug cause of "do not expire premium user's files" feature.