summaryrefslogtreecommitdiff
path: root/classes/article.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-20 17:12:29 +0300
committerAndrew Dolgov <[email protected]>2023-10-20 21:13:39 +0300
commitcdd7ad020e165fe680703b6d3319b908b682fb7a (patch)
treeb51eb09b7b4587e8fbc5624ac8d88d28cfcd0b04 /classes/article.php
parent45a9ff0c88cbd33892ff16ab837e9059937d656e (diff)
jaeger-client -> opentelemetry
Diffstat (limited to 'classes/article.php')
-rwxr-xr-xclasses/article.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/classes/article.php b/classes/article.php
index 63469ccd2..c14804485 100755
--- a/classes/article.php
+++ b/classes/article.php
@@ -326,7 +326,7 @@ class Article extends Handler_Protected {
$enclosures_formatted, $enclosures, $id, $always_display_enclosures, $article_content, $hide_images);
if (!empty($enclosures_formatted)) {
- $scope->close();
+ $scope->end();
return [
'formatted' => $enclosures_formatted,
'entries' => []
@@ -370,7 +370,7 @@ class Article extends Handler_Protected {
}
}
- $scope->close();
+ $scope->end();
return $rv;
}
@@ -427,7 +427,7 @@ class Article extends Handler_Protected {
$sth->execute([$tags_str, $id, $owner_uid]);
}
- $scope->close();
+ $scope->end();
return $tags;
}
@@ -569,7 +569,7 @@ class Article extends Handler_Protected {
else
Labels::update_cache($owner_uid, $id, array("no-labels" => 1));
- $scope->close();
+ $scope->end();
return $rv;
}
@@ -660,7 +660,7 @@ class Article extends Handler_Protected {
if ($article_stream && $cache->exists(sha1($article_stream)))
$article_stream = $cache->get_url(sha1($article_stream));
- $scope->close();
+ $scope->end();
return [$article_image, $article_stream, $article_kind];
}
@@ -696,7 +696,7 @@ class Article extends Handler_Protected {
}
}
- $scope->close();
+ $scope->end();
return array_unique($rv);
}
@@ -723,7 +723,7 @@ class Article extends Handler_Protected {
array_push($rv, $entry->feed_id);
}
- $scope->close();
+ $scope->end();
return array_unique($rv);
}