aboutsummaryrefslogtreecommitdiff
path: root/classes/Counters.php
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-12-15 18:14:42 +0000
committerwn_ <invalid@email.com>2024-12-15 18:39:03 +0000
commitf9b2291c28e7036276134aac84ec456fbd297d30 (patch)
tree82299fdc13a4e0950126c0ec889d4a9e020748f6 /classes/Counters.php
parent119c7f13dcb9b91368304e3affd0219108ec490f (diff)
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'.
Diffstat (limited to 'classes/Counters.php')
-rw-r--r--classes/Counters.php2
1 files changed, 1 insertions, 1 deletions
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));