* memberdashboard.php (MEMBERDASHBOARD_SETTINGS_GROUP): New constant.
* CRM/Memberdashboard/Page/Info.php (CRM_Memberdashboard_Page_Info.run):
Use it.
$profile_id = civicrm_api3('setting', 'getvalue', array(
'name' => 'memberdashboard_info_profile_id',
- 'group' => 'Member Dashboard Preferences'
+ 'group' => MEMBERDASHBOARD_SETTINGS_GROUP
));
$resources = CRM_Core_Resources::singleton();
require_once 'memberdashboard.civix.php';
+define('MEMBERDASHBOARD_SETTINGS_GROUP', 'Member Dashboard Preferences');
+
/**
* Implementation of hook_civicrm_config
*