mirror of
https://github.com/WhatCD/Gazelle.git
synced 2025-01-18 04:01:35 +00:00
Empty commit
This commit is contained in:
parent
15b92f8e81
commit
ab0014a2de
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user