Change to PDODocument library

This commit is contained in:
2024-06-04 19:56:06 -04:00
parent 1ca7dbdedd
commit 7231a95fca
18 changed files with 197 additions and 233 deletions

View File

@@ -6,7 +6,6 @@
* Displays a list of unread or bookmarked items for the current user
*/
use BitBadger\Documents\SQLite\Configuration;
use FeedReaderCentral\Feed;
use FeedReaderCentral\ItemList;
@@ -15,9 +14,7 @@ include '../start.php';
FeedReaderCentral\Security::verifyUser();
if (key_exists('refresh', $_GET)) {
$db = Configuration::dbConn();
$refreshResult = Feed::refreshAll($db);
$db->close();
$refreshResult = Feed::refreshAll();
if (key_exists('ok', $refreshResult)) {
add_info('All feeds refreshed successfully');
} else {