Empty commit

This commit is contained in:
Git 2014-01-26 08:01:11 +00:00
parent 15b92f8e81
commit ab0014a2de

View File

@ -608,11 +608,11 @@ public static function get_donation_history($UserID) {
public static function get_rank_expiration($UserID) {
$DonorInfo = self::get_donor_info($UserID);
if ($DonorInfo['SRank'] == MAX_SPECIAL_RANK || $DonorInfo['Rank'] == 1) {
$Return = 'never';
$Return = 'Never';
} elseif ($DonorInfo['Time']) {
$ExpireTime = strtotime($DonorInfo['Time']) + 2764800;
if ($ExpireTime - time() < 60) {
$Return = 'soon';
$Return = 'Soon';
} else {
$Expiration = time_diff($ExpireTime); // 32 days
$Return = "in $Expiration";