summaryrefslogtreecommitdiff
path: root/opml.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-09-07 15:48:12 +0100
committerAndrew Dolgov <[email protected]>2005-09-07 15:48:12 +0100
commit20fcff19c63288054253b80ebe99c510990462cb (patch)
treee0b9b43e8a08c27ca5b09a7d7c31f767a7cf8fbe /opml.php
parent763f2268984bd7e1d9ed962e7756f420304f7d5a (diff)
last minute PG fixes
Diffstat (limited to 'opml.php')
-rw-r--r--opml.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/opml.php b/opml.php
index 67ed91397..0e601e111 100644
--- a/opml.php
+++ b/opml.php
@@ -43,9 +43,7 @@
print "Feed <b>$title</b> ($url)... ";
- if (DB_TYPE == "mysql") {
- $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
- }
+ $link = db_connect(DB_HOST, DB_USER, DB_PASS, DB_NAME);
$result = db_query($link, "SELECT id FROM ttrss_feeds WHERE
title = '$title' OR feed_url = '$url'");