summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/api.php')
-rw-r--r--classes/api.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/api.php b/classes/api.php
index 2f1a563c0..65bca190d 100644
--- a/classes/api.php
+++ b/classes/api.php
@@ -347,7 +347,7 @@ class API extends Handler {
while ($line = $this->dbh->fetch_assoc($result)) {
- $attachments = get_article_enclosures($line['id']);
+ $attachments = Article::get_article_enclosures($line['id']);
$article = array(
"id" => $line["id"],
@@ -769,7 +769,7 @@ class API extends Handler {
);
if ($include_attachments)
- $headline_row['attachments'] = get_article_enclosures(
+ $headline_row['attachments'] = Article::get_article_enclosures(
$line['id']);
if ($show_excerpt)