projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ee02d
)
dev/drupal#131 Ensure that the General class exists
author
Seamus Lee
<seamuslee001@gmail.com>
Tue, 4 Aug 2020 20:48:47 +0000
(06:48 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Tue, 4 Aug 2020 20:48:47 +0000
(06:48 +1000)
Civi/Install/Requirements.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Install/Requirements.php
b/Civi/Install/Requirements.php
index 586a0c75d2de3c2d458e00a97740305cf567c7b1..87012fa9c02961946db0fb2a814e1da7a643b52b 100644
(file)
--- a/
Civi/Install/Requirements.php
+++ b/
Civi/Install/Requirements.php
@@
-294,6
+294,9
@@
class Requirements {
* @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',