Skip to content
Snippets Groups Projects
Commit ce201a20 authored by Tim Otten's avatar Tim Otten
Browse files

Merge pull request #277 from colemanw/upgrade-const

Fix constant during 4.1 upgrade
parents ad4f3c7d 8c904f47
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