diff --git a/modules/pref-feeds.php b/modules/pref-feeds.php index 7e5868aed..695dea20a 100644 --- a/modules/pref-feeds.php +++ b/modules/pref-feeds.php @@ -391,15 +391,6 @@ } } -/* if ($subop == "saveCat") { - $cat_title = db_escape_string(trim($_GET["title"])); - $cat_id = db_escape_string($_GET["id"]); - - $result = db_query($link, "UPDATE ttrss_feed_categories SET - title = '$cat_title' WHERE id = '$cat_id' AND owner_uid = ".$_SESSION["uid"]); - -} */ - if ($subop == "remove") { if (!WEB_DEMO_MODE) { @@ -446,64 +437,6 @@ } } -/* if ($subop == "addCat") { - - if (!WEB_DEMO_MODE) { - - $feed_cat = db_escape_string(trim($_GET["cat"])); - - $result = db_query($link, - "SELECT id FROM ttrss_feed_categories - WHERE title = '$feed_cat' AND owner_uid = ".$_SESSION["uid"]); - - if (db_num_rows($result) == 0) { - - $result = db_query($link, - "INSERT INTO ttrss_feed_categories (owner_uid,title) - VALUES ('".$_SESSION["uid"]."', '$feed_cat')"); - - } else { - - print "