aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acm
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-05-13 02:14:59 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-05-13 02:14:59 +0000
commitfd609f28babd75640b90a7e6fffed254ab83ad34 (patch)
tree53002e7294df5cb7b19707f8a8127b2cb1a67544 /phpBB/includes/acm
parentd5fc1c29f2ce7d7a310f63eaf877e0bfa42ef57c (diff)
downloadforums-fd609f28babd75640b90a7e6fffed254ab83ad34.tar
forums-fd609f28babd75640b90a7e6fffed254ab83ad34.tar.gz
forums-fd609f28babd75640b90a7e6fffed254ab83ad34.tar.bz2
forums-fd609f28babd75640b90a7e6fffed254ab83ad34.tar.xz
forums-fd609f28babd75640b90a7e6fffed254ab83ad34.zip
- Firebird is people too
git-svn-id: file:///svn/phpbb/trunk@5907 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acm')
-rw-r--r--phpBB/includes/acm/acm_main.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/includes/acm/acm_main.php b/phpBB/includes/acm/acm_main.php
index f1aea8c115..9e1d8349c1 100644
--- a/phpBB/includes/acm/acm_main.php
+++ b/phpBB/includes/acm/acm_main.php
@@ -270,6 +270,13 @@ class cache extends acm
WHERE bot_active = 1
ORDER BY LEN(bot_agent) DESC';
break;
+
+ case 'firebird':
+ $sql = 'SELECT user_id, bot_agent, bot_ip
+ FROM ' . BOTS_TABLE . '
+ WHERE bot_active = 1
+ ORDER BY STRLEN(bot_agent) DESC';
+ break;
// LENGTH supported by MySQL, IBM DB2 and Oracle for sure...
default: