Skip to content
Snippets Groups Projects
Commit 01e3b854 authored by Seamus Lee's avatar Seamus Lee
Browse files

Ensure that the unexpected version check doesn't show if the version matches

parent e5162884
Branches
Tags
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment