1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:35:56 +00:00

remove long forgotten stuff related to feed debugging actionbar

This commit is contained in:
Andrew Dolgov
2017-12-02 15:12:39 +03:00
parent 91d679667e
commit b5bf9a0ff3
4 changed files with 0 additions and 315 deletions

View File

@@ -348,22 +348,6 @@ class RPC extends Handler_Protected {
print "</ul>";
}
function purge() {
$ids = explode(",", $_REQUEST["ids"]);
$days = (int) $_REQUEST["days"];
$sth = $this->pdo->prepare("SELECT id FROM ttrss_feeds WHERE
id = ? AND owner_uid = ?");
foreach ($ids as $id) {
$sth->execute([$id, $_SESSION['uid']]);
if ($sth->fetch()) {
purge_feed($id, $days);
}
}
}
function updateFeedBrowser() {
if (defined('_DISABLE_FEED_BROWSER') && _DISABLE_FEED_BROWSER) return;