From: Andrew Dolgov Date: Wed, 15 Aug 2012 11:47:13 +0000 (+0400) Subject: move opml stuff to classes/opml.php X-Git-Tag: 1.6.0~148 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d75409bfdaa82d96cbd4a580c3f75b4b276d0a23;p=tt-rss.git move opml stuff to classes/opml.php --- diff --git a/classes/dlg.php b/classes/dlg.php index 4d5068ba..d143ca89 100644 --- a/classes/dlg.php +++ b/classes/dlg.php @@ -44,25 +44,12 @@ class Dlg extends Protected_Handler { db_query($this->link, "BEGIN"); - /* create Imported feeds category just in case */ - - $result = db_query($this->link, "SELECT id FROM - ttrss_feed_categories WHERE title = 'Imported feeds' AND - owner_uid = '$owner_uid' LIMIT 1"); - - if (db_num_rows($result) == 0) { - db_query($this->link, "INSERT INTO ttrss_feed_categories - (title,owner_uid) - VALUES ('Imported feeds', '$owner_uid')"); - } + print "