mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-12 11:31:00 +02:00
Revert "Performance breakthrough"
This reverts commit c2916856541ed82b2f11b5f3ff29b1e4f5cd6b3e.
This commit is contained in:
parent
8aaf7f4b7b
commit
a950fbecb5
@ -320,7 +320,8 @@
|
||||
|
||||
// purge orphaned posts in main content table
|
||||
$result = db_query("DELETE FROM ttrss_entries WHERE
|
||||
id NOT IN (SELECT ref_id FROM ttrss_user_entries WHERE ref_id IS NOT NULL)");
|
||||
(SELECT COUNT(int_id) FROM ttrss_user_entries WHERE ref_id = id) = 0");
|
||||
|
||||
if ($do_output) {
|
||||
$rows = db_affected_rows($result);
|
||||
_debug("Purged $rows orphaned posts.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user