Removed unused code

Code not reachable.
This commit is contained in:
TimZ99 2018-06-30 13:14:42 +02:00
parent fc84c06813
commit 92e8312ff1
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}