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/Digest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes/Digest.php') 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']; -- cgit v1.2.3-54-g00ecf