From f9b2291c28e7036276134aac84ec456fbd297d30 Mon Sep 17 00:00:00 2001 From: wn_ Date: Sun, 15 Dec 2024 18:14:42 +0000 Subject: Don't bother passing unused arguments to 'TimeHelper::make_local_datetime()'. There's no point in passing '$long' unless '$no_smart_dt' is set to 'true'. --- classes/Counters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'classes/Counters.php') diff --git a/classes/Counters.php b/classes/Counters.php index 535c8b32b..e20657947 100644 --- a/classes/Counters.php +++ b/classes/Counters.php @@ -183,7 +183,7 @@ class Counters { while ($line = $sth->fetch()) { $id = $line["id"]; - $last_updated = TimeHelper::make_local_datetime($line['last_updated'], false); + $last_updated = TimeHelper::make_local_datetime($line['last_updated']); if (Feeds::_has_icon($id)) { $ts = filemtime(Feeds::_get_icon_file($id)); -- cgit v1.2.3-54-g00ecf