Split out feed parsing from document

WIP - still moving things around...
This commit is contained in:
2024-05-31 16:00:04 -04:00
parent 67747899ac
commit f7f5dba795
12 changed files with 371 additions and 396 deletions

View File

@@ -15,7 +15,7 @@ include '../../start.php';
$db = Data::getConnection();
Security::verifyUser($db);
if (!($feed = Feed::retrieveById($_GET['id'], $db))) not_found();
if (!($feed = Feed::retrieveById($_GET['id']))) not_found();
$list = match (true) {
key_exists('unread', $_GET) => ItemList::unreadForFeed($feed->id, $db),