diff options
author | Andrew Dolgov <[email protected]> | 2019-06-20 08:14:06 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-06-20 08:14:06 +0300 |
commit | 4fa9aee4e7d187ed0f87d0dc9b88a86ba625c58f (patch) | |
tree | 9464027189b51e4051d889ad5f1450ce09782f67 /classes/opml.php | |
parent | 6d746453c75e2c482458f687585ef436a28a9888 (diff) |
move several more global functions to more appropriate classes
Diffstat (limited to 'classes/opml.php')
-rw-r--r-- | classes/opml.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/opml.php b/classes/opml.php index 720798065..6982aea27 100644 --- a/classes/opml.php +++ b/classes/opml.php @@ -31,7 +31,7 @@ class Opml extends Handler_Protected { <body class='claro ttrss_utility'> <h1>".__('OPML Utility')."</h1><div class='content'>"; - add_feed_category("Imported feeds"); + Feeds::add_feed_category("Imported feeds"); $this->opml_notice(__("Importing OPML...")); @@ -515,7 +515,7 @@ class Opml extends Handler_Protected { $order_id = (int) $root_node->attributes->getNamedItem('ttrssSortOrder')->nodeValue; if (!$order_id) $order_id = 0; - add_feed_category($cat_title, $parent_id, $order_id); + Feeds::add_feed_category($cat_title, $parent_id, $order_id); $cat_id = $this->get_feed_category($cat_title, $parent_id); } @@ -627,7 +627,7 @@ class Opml extends Handler_Protected { $url_path = get_self_url_prefix(); $url_path .= "/opml.php?op=publish&key=" . - get_feed_access_key('OPML:Publish', false, $_SESSION["uid"]); + Feeds::get_feed_access_key('OPML:Publish', false, $_SESSION["uid"]); return $url_path; } |