mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-18 06:21:19 +02:00
[ticket/17525] Address the PR review comments
PHPBB-17525
This commit is contained in:
@@ -52,7 +52,7 @@ class rename_duplicated_index_names extends migration
|
||||
foreach ($key_names as $key_name)
|
||||
{
|
||||
// If 'old' key name is already new format, do not rename it
|
||||
if (doctrine_dbtools::is_prefixed($key_name, $short_table_names[$table_name]))
|
||||
if (str_starts_with($key_name, $short_table_names[$table_name]))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user