Change to PDODocument library
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user