diff options
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-x | classes/rpc.php | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/classes/rpc.php b/classes/rpc.php index 6ec14dd42..dd592b4d4 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -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; |