mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/14771] fix white space
PHPBB3-14771
This commit is contained in:
parent
b2291e4e3c
commit
11fb872e33
1 changed files with 8 additions and 8 deletions
|
@ -23,11 +23,11 @@ class add_audio_files_attachment_group extends \phpbb\db\migration\migration
|
|||
public function update_data()
|
||||
{
|
||||
return [
|
||||
['custom', [[$this, 'add_audio_files_attachment_group']]],
|
||||
['custom', [[$this, 'add_audio_files']]],
|
||||
];
|
||||
}
|
||||
|
||||
public function add_audio_files_attachment_group()
|
||||
public function add_audio_files()
|
||||
{
|
||||
$sql = 'SELECT group_id
|
||||
FROM ' . $this->table_prefix . 'extension_groups
|
||||
|
@ -58,7 +58,7 @@ class add_audio_files_attachment_group extends \phpbb\db\migration\migration
|
|||
|
||||
$audio_extensions = ['mp3', 'wav', 'm4a', 'ogg', 'webm'];
|
||||
|
||||
foreach($audio_extensions as $audio_extension)
|
||||
foreach ($audio_extensions as $audio_extension)
|
||||
{
|
||||
$sql = 'SELECT group_id
|
||||
FROM ' . $this->table_prefix . 'extensions
|
||||
|
|
Loading…
Add table
Reference in a new issue