[WIP] Refactor

This commit is contained in:
slawkens
2025-10-31 09:42:52 +01:00
parent 456b68a88b
commit 6500c29799
9 changed files with 27 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ function lostAccountWriteCooldown(string $nick, int $time): void
$inSec = $time - time();
$minutesLeft = floor($inSec / 60);
$secondsLeft = $inSec - ($minutesLeft * 60);
$timeLeft = $minutesLeft.' minutes '.$secondsLeft.' seconds';
$timeLeft = "$minutesLeft minutes $secondsLeft seconds";
$timeRounded = ceil(setting('core.mail_lost_account_interval') / 60);