diff options
Diffstat (limited to 'app/Models')
| -rw-r--r-- | app/Models/Entry.php | 1 | ||||
| -rw-r--r-- | app/Models/Feed.php | 9 |
2 files changed, 1 insertions, 9 deletions
diff --git a/app/Models/Entry.php b/app/Models/Entry.php index 0769762f8..5aa819a68 100644 --- a/app/Models/Entry.php +++ b/app/Models/Entry.php @@ -1120,6 +1120,7 @@ HTML; $category = $feed == null ? null : $feed->category(); $item = [ + 'frss:id' => $this->id(), 'id' => 'tag:google.com,2005:reader/item/' . self::dec2hex($this->id()), 'crawlTimeMsec' => substr($this->dateAdded(true, true), 0, -3), 'timestampUsec' => '' . $this->dateAdded(true, true), //EasyRSS & Reeder diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 112da1a00..4f8a9130d 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -290,15 +290,6 @@ class FreshRSS_Feed extends Minz_Model { return $this->category?->id() ?: $this->categoryId; } - /** - * @return list<FreshRSS_Entry>|null - * @deprecated - */ - public function entries(): ?array { - Minz_Log::warning(__METHOD__ . ' is deprecated since FreshRSS 1.16.1!'); - $simplePie = $this->load(false, true); - return $simplePie == null ? [] : array_values(iterator_to_array($this->loadEntries($simplePie))); - } public function name(bool $raw = false): string { return $raw || $this->name != '' ? $this->name : (preg_replace('%^https?://(www[.])?%i', '', $this->url) ?? ''); } |
