mirror of
https://github.com/friendica/friendica
synced 2025-04-19 09:50:11 +00:00
Rename DBA::server_info to DBA::serverInfo
This commit is contained in:
parent
4db98eb43d
commit
1f2c0b98b5
2 changed files with 4 additions and 4 deletions
|
@ -236,8 +236,8 @@ class DBStructure
|
|||
}
|
||||
|
||||
// MySQL >= 5.7.4 doesn't support the IGNORE keyword in ALTER TABLE statements
|
||||
if ((version_compare(DBA::server_info(), '5.7.4') >= 0) &&
|
||||
!(strpos(DBA::server_info(), 'MariaDB') !== false)) {
|
||||
if ((version_compare(DBA::serverInfo(), '5.7.4') >= 0) &&
|
||||
!(strpos(DBA::serverInfo(), 'MariaDB') !== false)) {
|
||||
$ignore = '';
|
||||
} else {
|
||||
$ignore = ' IGNORE';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue