1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

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
This commit is contained in:
Meik Sievertsen
2003-08-28 17:32:18 +00:00
parent 5b6e9931b3
commit 964edc8693
4 changed files with 27 additions and 40 deletions

View File

@@ -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