Skip to content

Commit

Permalink
Merge pull request #18066 from seamuslee001/dev_drupal_131
Browse files Browse the repository at this point in the history
dev/drupal#131 Ensure that the General class exists
  • Loading branch information
seamuslee001 authored Aug 4, 2020
2 parents 02ee02d + edaacca commit 534c8f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Civi/Install/Requirements.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,9 @@ public function checkMysqlConnection(array $db_config) {
* @return array
*/
public function checkMysqlVersion(array $db_config) {
if (!class_exists('\CRM_Upgrade_Incremental_General')) {
require_once dirname(__FILE__) . '/../../CRM/Upgrade/Incremental/General.php';
}
$min = \CRM_Upgrade_Incremental_General::MIN_INSTALL_MYSQL_VER;
$results = [
'title' => 'CiviCRM MySQL Version',
Expand Down

0 comments on commit 534c8f4

Please sign in to comment.