Skip to content

Commit

Permalink
Merge pull request #91 from ticktackk/develop
Browse files Browse the repository at this point in the history
Check if table exists before running any of the XFMG upgrade steps
  • Loading branch information
ticktackk authored Feb 13, 2022
2 parents 25e5a90 + 7651ab5 commit c7d5ab4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,11 @@ protected function rebuildXFMGContentLastComment(
int $perPage = 1000
)
{
if (!$this->tableExists($tableName))
{
return true;
}

$position = !empty($stepParams[0]) ? $stepParams[0] : 0;

$db = $this->db();
Expand Down

0 comments on commit c7d5ab4

Please sign in to comment.