diff options
author | Mario <mario@mariovavti.com> | 2022-02-09 08:45:19 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-09 08:45:19 +0000 |
commit | daee5b34775ed601e1a06b989ffe929ec8f4c5a9 (patch) | |
tree | 6beb0a1618451579853e66ad77acc984e7cea437 /include/feedutils.php | |
parent | 5d0346ee30c01cc4508ed05e3cf529a6f79b6d81 (diff) | |
download | volse-hubzilla-daee5b34775ed601e1a06b989ffe929ec8f4c5a9.tar.gz volse-hubzilla-daee5b34775ed601e1a06b989ffe929ec8f4c5a9.tar.bz2 volse-hubzilla-daee5b34775ed601e1a06b989ffe929ec8f4c5a9.zip |
since we do not use feedutils for ostatus anymore, we can now safely use import_author_rss() instead of import_author_unknown()
Diffstat (limited to 'include/feedutils.php')
-rw-r--r-- | include/feedutils.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/feedutils.php b/include/feedutils.php index d31836983..1c653325d 100644 --- a/include/feedutils.php +++ b/include/feedutils.php @@ -1180,7 +1180,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { else { $name = $author['author_name']; } - $x = import_author_unknown(array('name' => $name,'url' => $author['author_link'],'photo' => array('src' => $author['author_photo']))); + $x = import_author_rss(array('name' => $name,'url' => $author['author_link'],'photo' => array('src' => $author['author_photo']))); if($x) $datarray['author_xchan'] = $x; } @@ -1440,7 +1440,7 @@ function consume_feed($xml, $importer, &$contact, $pass = 0) { else { $name = $author['author_name']; } - $x = import_author_unknown(array('name' => $name,'url' => $author['author_link'],'photo' => array('src' => $author['author_photo']))); + $x = import_author_rss(array('name' => $name,'url' => $author['author_link'],'photo' => array('src' => $author['author_photo']))); if($x) $datarray['author_xchan'] = $x; } |