summaryrefslogtreecommitdiff
path: root/classes/RPC.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-02 10:28:35 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-02 10:28:35 +0300
commit44b5b33f3da9012e0028de6230ccbd5a729a4b71 (patch)
treed7e87181f02c001309ffd3dffe39bedb947613fb /classes/RPC.php
parenta268f52de695fffb29769960332bfb34fe3ac7b5 (diff)
remove synchronous usages of _purge_orphans()
Diffstat (limited to 'classes/RPC.php')
-rw-r--r--classes/RPC.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/classes/RPC.php b/classes/RPC.php
index 6b6f3e909..c6cdab7f6 100644
--- a/classes/RPC.php
+++ b/classes/RPC.php
@@ -82,8 +82,6 @@ class RPC extends Handler_Protected {
WHERE ref_id IN ($ids_qmarks) AND owner_uid = ?");
$sth->execute([...$ids, $_SESSION['uid']]);
- Article::_purge_orphans();
-
print json_encode(array("message" => "UPDATE_COUNTERS"));
}
@@ -311,10 +309,6 @@ class RPC extends Handler_Protected {
}
}
- // Purge orphans and cleanup tags
- Article::_purge_orphans();
- //cleanup_tags(14, 50000);
-
if ($num_updated > 0) {
print json_encode(array("message" => "UPDATE_COUNTERS",
"num_updated" => $num_updated));