Skip to content

Commit

Permalink
Apply technical review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Hipska committed Jul 19, 2024
1 parent 5c4766f commit 8662a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup/moduleinstaller.class.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,13 +319,13 @@ public static function RenameTableInDB(string $sOrigTable, string $sDstTable)

if (!CMDBSource::IsTable($sOrigTable))
{
// Origin table is not present
SetupLog::Warning(sprintf('Rename table in DB - Origin table %s doesn\'t exist', $sOrigTable));
return;
}

if (CMDBSource::IsTable($sDstTable))
{
// Destination table is already present
SetupLog::Warning(sprintf('Rename table in DB - Destination table %s already exists', $sDstTable));
return;
}

Expand Down

0 comments on commit 8662a5b

Please sign in to comment.