mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/10759] Don't select imageset_id, it's not needed
PHPBB3-10759
This commit is contained in:
@@ -2425,7 +2425,7 @@ function change_database_data(&$no_updates, $version)
|
|||||||
// Get all installed styles
|
// Get all installed styles
|
||||||
if ($db_tools->sql_table_exists(STYLES_IMAGESET_TABLE))
|
if ($db_tools->sql_table_exists(STYLES_IMAGESET_TABLE))
|
||||||
{
|
{
|
||||||
$sql = 'SELECT s.style_id, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_id, i.imageset_path, i.imageset_id
|
$sql = 'SELECT s.style_id, t.template_path, t.template_id, t.bbcode_bitfield, t.template_inherits_id, t.template_inherit_path, c.theme_path, c.theme_id, i.imageset_path
|
||||||
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i
|
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . ' t, ' . STYLES_THEME_TABLE . ' c, ' . STYLES_IMAGESET_TABLE . " i
|
||||||
WHERE t.template_id = s.template_id
|
WHERE t.template_id = s.template_id
|
||||||
AND c.theme_id = s.theme_id
|
AND c.theme_id = s.theme_id
|
||||||
|
Reference in New Issue
Block a user