aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-08-28 17:32:18 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-08-28 17:32:18 +0000
commit964edc86936fba9f0729cc8930cc3a0c75b25998 (patch)
treec213179d6c4c359ccb38bd64b78884449c00fa40 /phpBB/includes/functions.php
parent5b6e9931b3ecca5efc8087f7d9ee7254153b8d09 (diff)
downloadforums-964edc86936fba9f0729cc8930cc3a0c75b25998.tar
forums-964edc86936fba9f0729cc8930cc3a0c75b25998.tar.gz
forums-964edc86936fba9f0729cc8930cc3a0c75b25998.tar.bz2
forums-964edc86936fba9f0729cc8930cc3a0c75b25998.tar.xz
forums-964edc86936fba9f0729cc8930cc3a0c75b25998.zip
saved one query by moving max smilie check to the emoticons function
git-svn-id: file:///svn/phpbb/trunk@4451 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index a2f8ad7138..8f53c55e8d 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -836,7 +836,7 @@ function obtain_attach_extensions(&$extensions)
}
else
{
- // Don't count on forbidden extensions table, because it is not allowed to allow forbidden extensions at all
+ // The rule is to only allow those extensions defined. ;)
$sql = 'SELECT e.extension, g.*
FROM ' . EXTENSIONS_TABLE . ' e, ' . EXTENSION_GROUPS_TABLE . ' g
WHERE e.group_id = g.group_id