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:
e516288
)
Ensure that the unexpected version check doesn't show if the version matches
author
Seamus Lee
<seamuslee001@gmail.com>
Wed, 1 Jul 2020 23:10:41 +0000
(09:10 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Wed, 1 Jul 2020 23:10:41 +0000
(09:10 +1000)
CRM/Utils/Check/Component/Env.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Check/Component/Env.php
b/CRM/Utils/Check/Component/Env.php
index bf67ad8b05db55797452082f46676405def250fd..5f624e340a8e030ff5783f16ae4af4963873b5e5 100644
(file)
--- a/
CRM/Utils/Check/Component/Env.php
+++ b/
CRM/Utils/Check/Component/Env.php
@@
-751,7
+751,7
@@
class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
}
// if db.ver > code.ver, sth really wrong
- if (
!CRM_Core_BAO_Domain::isDBUpdateRequired()
) {
+ if (
version_compare($dbVersion, CRM_Utils_System::version()) > 0
) {
$messages[] = new CRM_Utils_Check_Message(
__FUNCTION__,
ts('Your database is marked with an unexpected version number: %1. The v%2 codebase may not be compatible with your database state.