Use [] instead of array()
See: b851f9d1fc
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
parent
b851f9d1fc
commit
2ec96f829c
@ -4178,7 +4178,7 @@ class Privileges
|
||||
// Always use 'authentication_string' column
|
||||
// for MySQL 5.7.6+ since it does not have
|
||||
// the 'password' column at all
|
||||
if (in_array(Util::getServerType(), array('MySQL', 'Percona Server'))
|
||||
if (in_array(Util::getServerType(), ['MySQL', 'Percona Server'])
|
||||
&& $serverVersion >= 50706
|
||||
&& isset($row['authentication_string'])
|
||||
) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user