]> git.wh0rd.org - tt-rss.git/blobdiff - opml.php
Updated german translation
[tt-rss.git] / opml.php
index c8fbf1c394c20a0d32d44c762c7fac98351aa2a2..af3694051d16d64f3b4862c18202ba10e101c8cd 100644 (file)
--- a/opml.php
+++ b/opml.php
@@ -10,8 +10,6 @@
        require_once "db.php";
        require_once "db-prefs.php";
 
-       $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
-
        if (!init_plugins()) return;
 
        $op = $_REQUEST['op'];
@@ -26,7 +24,7 @@
                if (db_num_rows($result) == 1) {
                        $owner_uid = db_fetch_result($result, 0, "owner_uid");
 
-                       $opml = new Opml( $_REQUEST);
+                       $opml = new Opml($_REQUEST);
                        $opml->opml_export("", $owner_uid, true, false);
 
                } else {
@@ -34,6 +32,4 @@
                }
        }
 
-       db_close();
-
 ?>