purge orphans after deleting articles
This commit is contained in:
parent
32b05702ff
commit
f0d3c94aa7
1 changed files with 2 additions and 0 deletions
|
@ -152,6 +152,8 @@ class RPC extends Handler_Protected {
|
|||
$result = db_query($this->link, "DELETE FROM ttrss_user_entries
|
||||
WHERE ref_id IN ($ids) AND owner_uid = " . $_SESSION["uid"]);
|
||||
|
||||
purge_orphans($this->link);
|
||||
|
||||
print json_encode(array("message" => "UPDATE_COUNTERS"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue