From 257efb43c6e32226280d8198acc946a2fc4c454f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Feb 2021 15:52:28 +0300 Subject: article: unify naming --- classes/rpc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'classes/rpc.php') diff --git a/classes/rpc.php b/classes/rpc.php index 206a93d60..7edc59921 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -119,7 +119,7 @@ class RPC extends Handler_Protected { WHERE ref_id IN ($ids_qmarks) AND owner_uid = ?"); $sth->execute(array_merge($ids, [$_SESSION['uid']])); - Article::purge_orphans(); + Article::_purge_orphans(); print json_encode(array("message" => "UPDATE_COUNTERS")); } @@ -156,7 +156,7 @@ class RPC extends Handler_Protected { $ids = explode(",", clean($_REQUEST["ids"])); $cmode = (int)clean($_REQUEST["cmode"]); - Article::catchupArticlesById($ids, $cmode); + Article::_catchup_by_id($ids, $cmode); print json_encode(array("message" => "UPDATE_COUNTERS", "ids" => $ids)); } @@ -310,7 +310,7 @@ class RPC extends Handler_Protected { } // Purge orphans and cleanup tags - Article::purge_orphans(); + Article::_purge_orphans(); //cleanup_tags(14, 50000); if ($num_updated > 0) { -- cgit v1.2.3