1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 10:05:56 +00:00

feeds/_add_cat: use ORM

This commit is contained in:
Andrew Dolgov
2021-03-02 10:24:15 +03:00
parent 7cf12233d7
commit c4eaab8a31
3 changed files with 18 additions and 32 deletions

View File

@@ -867,7 +867,7 @@ class Pref_Feeds extends Handler_Protected {
function addCat() {
$feed_cat = clean($_REQUEST["cat"]);
Feeds::_add_cat($feed_cat);
Feeds::_add_cat($feed_cat, $_SESSION['uid']);
}
function importOpml() {