aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:30:11 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:30:11 +0000
commite6c79242e6a7debfccc643a09dfab4a4d7746a8a (patch)
tree359aff16844a95c92252eae7879ab0b6f93cd76b /phpBB/includes/cache.php
parent50a8caee5daa1caf1596e847b5708cba11e8ac83 (diff)
downloadforums-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.tar
forums-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.tar.gz
forums-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.tar.bz2
forums-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.tar.xz
forums-e6c79242e6a7debfccc643a09dfab4a4d7746a8a.zip
dumdidum... sorry. ;)
git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/cache.php')
-rw-r--r--phpBB/includes/cache.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/includes/cache.php b/phpBB/includes/cache.php
index ffccf7ff54..5198abdc3c 100644
--- a/phpBB/includes/cache.php
+++ b/phpBB/includes/cache.php
@@ -9,6 +9,7 @@
*/
/**
+* @ignore
*/
if (!defined('IN_PHPBB'))
{
@@ -293,14 +294,14 @@ class cache extends acm
{
case 'mssql':
case 'mssql_odbc':
- $sql = 'SELECT user_id, bot_agent, bot_ip
+ $sql = 'SELECT user_id, bot_agent, bot_ip
FROM ' . BOTS_TABLE . '
WHERE bot_active = 1
ORDER BY LEN(bot_agent) DESC';
break;
case 'firebird':
- $sql = 'SELECT user_id, bot_agent, bot_ip
+ $sql = 'SELECT user_id, bot_agent, bot_ip
FROM ' . BOTS_TABLE . '
WHERE bot_active = 1
ORDER BY CHAR_LENGTH(bot_agent) DESC';
@@ -308,7 +309,7 @@ class cache extends acm
// LENGTH supported by MySQL, IBM DB2 and Oracle for sure...
default:
- $sql = 'SELECT user_id, bot_agent, bot_ip
+ $sql = 'SELECT user_id, bot_agent, bot_ip
FROM ' . BOTS_TABLE . '
WHERE bot_active = 1
ORDER BY LENGTH(bot_agent) DESC';