mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 14:05:56 +00:00
move to Article:
+ static function purge_orphans($do_output = false) {
move to Feeds
+ static function getGlobalUnread($user_id = false) {
+ static function getCategoryTitle($cat_id) {
+ static function getLabelUnread($label_id, $owner_uid = false) {
This commit is contained in:
@@ -151,7 +151,7 @@ class RPC extends Handler_Protected {
|
||||
$this->dbh->query("DELETE FROM ttrss_user_entries
|
||||
WHERE ref_id IN ($ids) AND owner_uid = " . $_SESSION["uid"]);
|
||||
|
||||
purge_orphans();
|
||||
Article::purge_orphans();
|
||||
|
||||
print json_encode(array("message" => "UPDATE_COUNTERS"));
|
||||
}
|
||||
@@ -556,7 +556,7 @@ class RPC extends Handler_Protected {
|
||||
}
|
||||
|
||||
// Purge orphans and cleanup tags
|
||||
purge_orphans();
|
||||
Article::purge_orphans();
|
||||
//cleanup_tags(14, 50000);
|
||||
|
||||
if ($num_updated > 0) {
|
||||
|
||||
Reference in New Issue
Block a user