summaryrefslogtreecommitdiff
path: root/classes/Digest.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/Digest.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/Digest.php')
-rw-r--r--classes/Digest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/Digest.php b/classes/Digest.php
index 7e5e660b6..3ce2693f3 100644
--- a/classes/Digest.php
+++ b/classes/Digest.php
@@ -153,8 +153,7 @@ class Digest
array_push($affected_ids, $line["ref_id"]);
- $updated = TimeHelper::make_local_datetime($line['last_updated'], false,
- $user_id);
+ $updated = TimeHelper::make_local_datetime($line['last_updated'], owner_uid: $user_id);
if (Prefs::get(Prefs::ENABLE_FEED_CATS, $user_id)) {
$line['feed_title'] = $line['cat_title'] . " / " . $line['feed_title'];