summaryrefslogtreecommitdiff
path: root/actions/twittersettings.php
diff options
context:
space:
mode:
authorCiaranG <ciaran@ciarang.com>2009-03-08 16:16:10 +0000
committerCiaranG <ciaran@ciarang.com>2009-03-08 16:16:10 +0000
commit2133d5a4e7fc694b097fe65282e557d99ee109ad (patch)
tree210454e89a627b81bf926c156dd2a9f9c0ba0cf7 /actions/twittersettings.php
parenta5f11248305f1ec66eee215e9e12ba010ed97691 (diff)
PostgreSQL - some more fixes to make queries compatible with both databases. (submitted by oxygene)
Diffstat (limited to 'actions/twittersettings.php')
-rw-r--r--actions/twittersettings.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/actions/twittersettings.php b/actions/twittersettings.php
index a79859bbf..45725d3ff 100644
--- a/actions/twittersettings.php
+++ b/actions/twittersettings.php
@@ -186,12 +186,12 @@ class TwittersettingsAction extends ConnectSettingsAction
$current_user = common_current_user();
- $qry = 'SELECT user.* ' .
+ $qry = 'SELECT "user".* ' .
'FROM subscription ' .
- 'JOIN user ON subscription.subscribed = user.id ' .
- 'JOIN foreign_link ON foreign_link.user_id = user.id ' .
+ 'JOIN "user" ON subscription.subscribed = "user".id ' .
+ 'JOIN foreign_link ON foreign_link.user_id = "user".id ' .
'WHERE subscriber = %d ' .
- 'ORDER BY user.nickname';
+ 'ORDER BY "user".nickname';
$user = new User();