Skip to content
Snippets Groups Projects
Commit 8c904f47 authored by colemanw's avatar colemanw
Browse files

Fix constant during 4.1 upgrade

parent d904df2c
Branches
Tags
No related merge requests found
......@@ -33,6 +33,9 @@
*
*/
class CRM_Upgrade_Incremental_php_FourOne {
// This was changed in 4.3 so we define it locally for compatability with older dbs
const NAVIGATION_NAME = "Navigation Menu";
function verifyPreDBstate(&$errors) {
$config = CRM_Core_Config::singleton();
if (in_array('CiviCase', $config->enableComponents)) {
......@@ -123,7 +126,7 @@ class CRM_Upgrade_Incremental_php_FourOne {
$userColumnNames = array(
CRM_Core_BAO_Setting::NAVIGATION_NAME => array(
self::NAVIGATION_NAME => array(
'navigation',
),
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment