summaryrefslogtreecommitdiff
path: root/classes/pref/feeds.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/pref/feeds.php')
-rwxr-xr-xclasses/pref/feeds.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/pref/feeds.php b/classes/pref/feeds.php
index ed6560fd3..fb7e01af8 100755
--- a/classes/pref/feeds.php
+++ b/classes/pref/feeds.php
@@ -1104,12 +1104,16 @@ class Pref_Feeds extends Handler_Protected {
* @return array<string, mixed>
*/
private function feedlist_init_feed(int $feed_id, ?string $title = null, bool $unread = false, string $error = '', string $updated = ''): array {
+ $scope = Tracer::start(__METHOD__, []);
+
if (!$title)
$title = Feeds::_get_title($feed_id, false);
if ($unread === false)
$unread = Feeds::_get_counters($feed_id, false, true);
+ $scope->close();
+
return [
'id' => 'FEED:' . $feed_id,
'name' => $title,