1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

rename unfairly prefixed get_enclosures() in feeditem

This commit is contained in:
Andrew Dolgov
2021-03-05 09:35:17 +03:00
parent c744cfe2dc
commit e8e6329040
5 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -119,7 +119,7 @@ class FeedItem_Atom extends FeedItem_Common {
return $this->normalize_categories($cats);
}
function _get_enclosures() {
function get_enclosures() {
$links = $this->elem->getElementsByTagName("link");
$encs = array();
@@ -138,7 +138,7 @@ class FeedItem_Atom extends FeedItem_Common {
}
}
$encs = array_merge($encs, parent::_get_enclosures());
$encs = array_merge($encs, parent::get_enclosures());
return $encs;
}