Skip to content

Commit

Permalink
Added dummy constructor to avoid PHP < 5.3.3 issues. Closes #902
Browse files Browse the repository at this point in the history
  • Loading branch information
WanWizard committed Apr 3, 2012
1 parent 6fab9e8 commit d320d44
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions classes/migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -596,4 +596,13 @@ protected static function table_version_check()
}
}

/**
* dummy, required to avoid PHP < 5.3.3. calling
* the migrate() method as a fallback constructor.
*
* @return void
*/
public function __construct()
{
}
}

0 comments on commit d320d44

Please sign in to comment.