mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Update setup/backup.class.inc.php
Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
This commit is contained in:
@@ -606,8 +606,8 @@ EOF;
|
||||
|
||||
public static function GetDumpFunction(): string
|
||||
{
|
||||
$version = CMDBSource::QueryToScalar('SELECT VERSION()');
|
||||
if (is_string($version) && stripos($version, 'MariaDB') !== false) {
|
||||
$sVersion = CMDBSource::GetDBVersion();
|
||||
if (stripos($sVersion, 'MariaDB') !== false) {
|
||||
return 'mariadb-dump';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user