summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-15 15:43:07 +0300
committerAndrew Dolgov <[email protected]>2021-02-15 15:43:07 +0300
commit020f062a76746a313fae9c82fbcf9b37fcc9d459 (patch)
tree66e2c2f36ac98e54f5ca81fdd7125402e51181dc /classes/rssutils.php
parent6b006a18e7efef814fa7a59102c85299acb0a0a4 (diff)
feeds: unify naming
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index 9dd7c4ab1..0e90d8fe4 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -1239,7 +1239,7 @@ class RSSUtils {
Debug::log("purging feed...", Debug::$LOG_VERBOSE);
- Feeds::purge_feed($feed, 0);
+ Feeds::_purge($feed, 0);
$sth = $pdo->prepare("UPDATE ttrss_feeds SET
last_updated = NOW(),
@@ -1706,7 +1706,7 @@ class RSSUtils {
$filters = array();
$feed_id = (int) $feed_id;
- $cat_id = (int)Feeds::getFeedCategory($feed_id);
+ $cat_id = (int)Feeds::_cat_of_feed($feed_id);
if ($cat_id == 0)
$null_cat_qpart = "cat_id IS NULL OR";
@@ -1720,7 +1720,7 @@ class RSSUtils {
$sth->execute([$owner_uid]);
$check_cats = array_merge(
- Feeds::getParentCategories($cat_id, $owner_uid),
+ Feeds::_get_parent_cats($cat_id, $owner_uid),
[$cat_id]);
$check_cats_str = join(",", $check_cats);