From 92e8312ff1bb35393fee17b875714467d085e0c8 Mon Sep 17 00:00:00 2001 From: TimZ99 Date: Sat, 30 Jun 2018 13:14:42 +0200 Subject: [PATCH] Removed unused code Code not reachable. --- src/includes/functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/functions.inc.php b/src/includes/functions.inc.php index 7a3fb2b2..0206ae8a 100644 --- a/src/includes/functions.inc.php +++ b/src/includes/functions.inc.php @@ -425,7 +425,7 @@ function psm_timespan($time) { if ($d >= 60*60) { return psm_get_lang('system', 'an_hour_ago'); } if ($d >= 60*2) { return sprintf(psm_get_lang('system', 'minutes_ago'), intval($d / 60)); } if ($d >= 60) { return psm_get_lang('system', 'a_minute_ago'); } - if ($d >= 2) { return sprintf(psm_get_lang('system', 'seconds_ago'), intval($d));intval($d); } + if ($d >= 2) { return sprintf(psm_get_lang('system', 'seconds_ago'), intval($d)); } return psm_get_lang('system', 'a_second_ago'); }