Skip to content

Commit

Permalink
DbMigration: Break once a correct schema version is found
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab authored and raviks789 committed May 7, 2024
1 parent 857188e commit fb68aae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/Reporting/ProvidedHook/DbMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ public function getVersion(): string
foreach ($schema as $version) {
if ($version->success) {
$this->version = $version->version;

break;
}
}

Expand Down

0 comments on commit fb68aae

Please sign in to comment.