From: Tim Otten Date: Tue, 6 Jan 2015 21:35:24 +0000 (-0800) Subject: INFRA-132 - settings/ - phpcbf X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=08e57c58851781a33c71e31a1fdb25d5f06eba2f;p=civicrm-core.git INFRA-132 - settings/ - phpcbf --- diff --git a/settings/Address.setting.php b/settings/Address.setting.php index 0a10075532..32bf646f82 100644 --- a/settings/Address.setting.php +++ b/settings/Address.setting.php @@ -35,19 +35,19 @@ /* * Settings metadata file */ -return array ( +return array( 'address_standardization_provider' => array( 'group_name' => 'Address Preferences', 'group' => 'address', 'name' => 'address_standardization_provider', 'type' => 'String', 'html_type' => 'Select', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'title' => 'Address Standardization Provider.', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, + 'description' => NULL, 'help_text' => 'CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. ', ), 'address_standardization_userid' => array( @@ -56,13 +56,13 @@ return array ( 'name' => 'address_standardization_userid', 'type' => 'String', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'title' => 'Web service user ID', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'address_standardization_url' => array( 'group_name' => 'Address Preferences', @@ -70,12 +70,12 @@ return array ( 'name' => 'address_standardization_url', 'type' => 'Text', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'title' => 'Web Service URL', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, + 'description' => NULL, 'help_text' => 'Web Service URL', 'validate_callback' => 'CRM_Utils_Rule::url', ), diff --git a/settings/Campaign.setting.php b/settings/Campaign.setting.php index 9f4bf68d42..e91bdc5d68 100644 --- a/settings/Campaign.setting.php +++ b/settings/Campaign.setting.php @@ -48,7 +48,7 @@ return array( 'title' => 'Tag for Unconfirmed Petition Signers', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, + 'description' => NULL, 'help_text' => 'If set, new contacts that are created when signing a petition are assigned a tag of this name.', ), 'petition_contacts' => array( @@ -62,7 +62,7 @@ return array( 'title' => 'Petition Signers Group', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, + 'description' => NULL, 'help_text' => 'If set, new contacts that are created when signing a petition are assigned a tag of this name.', ), diff --git a/settings/Core.setting.php b/settings/Core.setting.php index 66b697e6e0..2126c878b2 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -35,7 +35,7 @@ /* * Settings metadata file */ -return array ( +return array( 'contact_view_options' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', @@ -50,8 +50,8 @@ return array ( 'title' => 'Viewing Contacts', 'is_domain' => '1', 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'contact_edit_options' => array( @@ -68,8 +68,8 @@ return array ( 'title' => 'Editing Contacts', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'advanced_search_options' => array( 'group_name' => 'CiviCRM Preferences', @@ -84,8 +84,8 @@ return array ( 'title' => 'Contact Search', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'user_dashboard_options' => array( 'group_name' => 'CiviCRM Preferences', @@ -101,8 +101,8 @@ return array ( 'title' => 'Contact Dashboard', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'address_options' => array( 'group_name' => 'CiviCRM Preferences', @@ -118,8 +118,8 @@ return array ( 'title' => 'Addressing Options', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'address_format' => array( 'group_name' => 'CiviCRM Preferences', @@ -132,8 +132,8 @@ return array ( 'title' => 'Address Format', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'mailing_format' => array( 'group_name' => 'CiviCRM Preferences', @@ -146,8 +146,8 @@ return array ( 'title' => 'Mailing Format', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'display_name_format' => array( 'group_name' => 'CiviCRM Preferences', @@ -160,8 +160,8 @@ return array ( 'title' => 'Display Name Format', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'sort_name_format' => array( 'group_name' => 'CiviCRM Preferences', @@ -174,8 +174,8 @@ return array ( 'title' => 'Sort Name Format', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'editor_id' => array( 'group_name' => 'CiviCRM Preferences', @@ -183,13 +183,13 @@ return array ( 'name' => 'editor_id', 'type' => 'String', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'title' => 'Wysiwig Editor', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'contact_ajax_check_similar' => array( 'group_name' => 'CiviCRM Preferences', @@ -197,13 +197,13 @@ return array ( 'name' => 'contact_ajax_check_similar', 'type' => 'String', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'title' => 'Ajax Check Similar', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'ajaxPopupsEnabled' => array( 'group_name' => 'CiviCRM Preferences', @@ -216,8 +216,8 @@ return array ( 'title' => 'Ajax Popups Enabled', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'activity_assignee_notification' => array( 'group_name' => 'CiviCRM Preferences', @@ -225,13 +225,13 @@ return array ( 'name' => 'activity_assignee_notification', 'type' => 'String', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'title' => 'Notify Activity Assignees', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'activity_assignee_notification_ics' => array( 'group_name' => 'CiviCRM Preferences', @@ -239,13 +239,13 @@ return array ( 'name' => 'activity_assignee_notification_ics', 'type' => 'String', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Include ICal Invite to Activity Assignees', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'contact_autocomplete_options' => array( 'group_name' => 'CiviCRM Preferences', @@ -261,8 +261,8 @@ return array ( 'title' => 'Contact Reference Autocomplete Options', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'contact_reference_options' => array( 'group_name' => 'CiviCRM Preferences', @@ -278,8 +278,8 @@ return array ( 'title' => 'Contact Reference Options', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'max_attachments' => array( 'group_name' => 'CiviCRM Preferences', @@ -300,7 +300,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Maximum number of files (documents, images, etc.) which can attached to emails or activities.', - 'help_text' => null, + 'help_text' => NULL, ), 'maxFileSize' => array( 'group_name' => 'CiviCRM Preferences', @@ -321,7 +321,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Maximum Size of file (documents, images, etc.) which can attached to emails or activities.
Note: php.ini should support this file size.', - 'help_text' => null, + 'help_text' => NULL, ), 'contact_undelete' => array( 'group_name' => 'CiviCRM Preferences', @@ -335,7 +335,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).', - 'help_text' => null, + 'help_text' => NULL, ), 'allowPermDeleteFinancial' => array( 'group_name' => 'CiviCRM Preferences', @@ -349,7 +349,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions', - 'help_text' => null, + 'help_text' => NULL, ), 'versionAlert' => array( 'group_name' => 'CiviCRM Preferences', @@ -370,7 +370,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "", - 'help_text' => null, + 'help_text' => NULL, ), 'securityUpdateAlert' => array( 'group_name' => 'CiviCRM Preferences', @@ -391,7 +391,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "", - 'help_text' => null, + 'help_text' => NULL, ), 'versionCheck' => array( 'group_name' => 'CiviCRM Preferences', @@ -405,7 +405,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "", - 'help_text' => null, + 'help_text' => NULL, ), 'versionCheckIgnoreDate' => array( 'group_name' => 'CiviCRM Preferences', @@ -421,7 +421,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "", - 'help_text' => null, + 'help_text' => NULL, ), 'securityAlert' => array( 'group_name' => 'CiviCRM Preferences', @@ -435,14 +435,14 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "If enabled, CiviCRM will automatically run checks for significant mis-configurations such as ineffective file protections.", - 'help_text' => null, + 'help_text' => NULL, ), 'doNotAttachPDFReceipt' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'doNotAttachPDFReceipt', - 'prefetch' => 1, // prefetch causes it to be cached in config object. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value + 'prefetch' => 1, // prefetch causes it to be cached in config object. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'Boolean', 'quick_form_type' => 'YesNo', 'default' => 1, @@ -451,14 +451,14 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution.", - 'help_text' => null, + 'help_text' => NULL, ), 'wkhtmltopdfPath' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'wkhtmltopdfPath', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', @@ -467,20 +467,20 @@ return array ( 'maxlength' => 256, ), 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Path to wkhtmltopdf executable', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'recaptchaPublicKey' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'recaptchaPublicKey', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', @@ -489,20 +489,20 @@ return array ( 'maxlength' => 64, ), 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Recaptcha Public Key', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'recaptchaPrivateKey' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'recaptchaPrivateKey', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only'=> 1,//@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', @@ -511,20 +511,20 @@ return array ( 'maxlength' => 64, ), 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Recaptcha Private Key', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'recaptchaPrivateKey' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'recaptchaPrivateKey', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', @@ -533,20 +533,20 @@ return array ( 'maxlength' => 64, ), 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Recaptcha Private Key', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'dashboardCacheTimeout' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'dashboardCacheTimeout', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'Integer', 'quick_form_type' => 'Element', 'html_type' => 'text', @@ -555,19 +555,19 @@ return array ( 'maxlength' => 5, ), 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Dashboard cache timeout', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'checksumTimeout' => array( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'checksumTimeout', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'type' => 'Integer', 'quick_form_type' => 'Element', 'html_type' => 'text', @@ -581,8 +581,8 @@ return array ( 'title' => 'Checksum Lifespan', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'blogUrl' => array( 'group_name' => 'CiviCRM Preferences', @@ -630,8 +630,8 @@ return array ( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'resCacheCode', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent - 'config_only'=> 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', @@ -640,13 +640,13 @@ return array ( 'maxlength' => 16, ), 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Resource Cache Code', 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching', - 'help_text' => null, + 'help_text' => NULL, ), 'verifySSL' => array( 'group_name' => 'CiviCRM Preferences', @@ -669,7 +669,7 @@ return array ( 'type' => 'String', 'html_type' => 'text', 'quick_form_type' => 'Element', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'default' => '', 'add' => '4.3', 'title' => 'WordPress Base Page', @@ -682,7 +682,7 @@ return array ( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'secondDegRelPermissions', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'type' => 'Boolean', 'quick_form_type' => 'YesNo', 'default' => 0, @@ -691,7 +691,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts", - 'help_text' => null, + 'help_text' => NULL, ), 'enable_components' => array( @@ -711,8 +711,8 @@ return array ( 'title' => 'Enable Components', 'is_domain' => '1', 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, 'on_change' => array( array('CRM_Case_Info', 'onToggleComponents'), array('CRM_Core_Component', 'flushEnabledComponents'), @@ -737,7 +737,7 @@ return array ( 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'empoweredBy', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'type' => 'Boolean', 'quick_form_type' => 'YesNo', 'default' => 1, @@ -746,6 +746,6 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.', - 'help_text' => null, + 'help_text' => NULL, ), ); diff --git a/settings/Developer.setting.php b/settings/Developer.setting.php index a49128838b..c9c31e33e1 100644 --- a/settings/Developer.setting.php +++ b/settings/Developer.setting.php @@ -105,7 +105,7 @@ In the case of Drupal, this will cause all CiviCRM error messages to appear in t 'type' => 'String', 'quick_form_type' => 'Element', 'html_type' => 'text', - 'default' => null, + 'default' => NULL, 'add' => '4.3', 'title' => 'Fatal Error Handler', 'is_domain' => 1, diff --git a/settings/Directory.setting.php b/settings/Directory.setting.php index 57076b08e8..85249c63f3 100644 --- a/settings/Directory.setting.php +++ b/settings/Directory.setting.php @@ -43,13 +43,13 @@ return array( 'name' => 'uploadDir', 'type' => 'Url', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'title' => 'Upload Directory', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, + 'description' => NULL, 'help_text' => '', ), 'imageUploadDir' => array( @@ -58,14 +58,14 @@ return array( 'name' => 'imageUploadDir', 'type' => 'Url', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'title' => 'Image Directory', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'customFileUploadDir' => array( 'group_name' => 'Directory Preferences', @@ -73,14 +73,14 @@ return array( 'name' => 'customFileUploadDir', 'type' => 'Url', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'title' => 'Custom Files Upload Directory', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'customTemplateDir' => array( 'group_name' => 'Directory Preferences', @@ -88,14 +88,14 @@ return array( 'name' => 'customTemplateDir', 'type' => 'Url', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'title' => 'Custom Template Directory', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'customPHPPathDir' => array( 'group_name' => 'Directory Preferences', @@ -103,14 +103,14 @@ return array( 'name' => 'customPHPPathDir', 'type' => 'Url', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'title' => 'Custom PHP Path', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'extensionsDir' => array( 'group_name' => 'Directory Preferences', @@ -118,14 +118,14 @@ return array( 'name' => 'extensionsDir', 'type' => 'Url', 'html_type' => 'Text', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'title' => 'Extensions Directory', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), diff --git a/settings/Event.setting.php b/settings/Event.setting.php index 4d22c928a2..5ab390605b 100644 --- a/settings/Event.setting.php +++ b/settings/Event.setting.php @@ -35,9 +35,9 @@ /* * Settings metadata file */ -return array ( +return array( 'event_enable_cart' => - array ( + array( 'name' => 'enable_cart', 'group_name' => 'Event Preferences', 'group' => 'event', diff --git a/settings/Localization.setting.php b/settings/Localization.setting.php index e9621ca86a..a736376997 100644 --- a/settings/Localization.setting.php +++ b/settings/Localization.setting.php @@ -41,7 +41,7 @@ return array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'monetaryThousandSeparator', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', @@ -54,14 +54,14 @@ return array( 'title' => 'Thousands Separator', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'monetaryDecimalPoint' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'monetaryDecimalPoint', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', @@ -74,14 +74,14 @@ return array( 'title' => 'Decimal Delimiter', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'moneyformat' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'moneyformat', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', @@ -91,14 +91,14 @@ return array( 'title' => 'Monetary Amount Display', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'moneyvalueformat' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'moneyvalueformat', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', @@ -108,14 +108,14 @@ return array( 'title' => 'Monetary Amount Display', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'defaultCurrency' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'defaultCurrency', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', @@ -129,13 +129,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Default currency assigned to contributions and other monetary transactions.', - 'help_text' => null, + 'help_text' => NULL, ), 'defaultContactCountry' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'defaultContactCountry', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'quick_form_type' => 'Element', @@ -149,13 +149,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'This value is selected by default when adding a new contact address.', - 'help_text' => null, + 'help_text' => NULL, ), 'countryLimit' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'countryLimit', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'Array', 'quick_form_type' => 'Element', @@ -171,13 +171,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), 'provinceLimit' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'provinceLimit', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'Array', 'quick_form_type' => 'Element', @@ -193,13 +193,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), 'inheritLocale' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'inheritLocale', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'Boolean', 'quick_form_type' => 'YesNo', @@ -209,13 +209,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), 'dateformatDatetime' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'dateformatDatetime', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'default' => '%B %E%f, %Y %l:%M %P', @@ -224,13 +224,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), 'dateformatFull' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'dateformatFull', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'default' => '%B %E%f, %Y', @@ -239,13 +239,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), 'dateformatPartial' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'dateformatPartial', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'default' => '%B %Y', @@ -254,13 +254,13 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), 'lcMessages' => array( 'group_name' => 'Localization Preferences', 'group' => 'localization', 'name' => 'lcMessages', - 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent + 'prefetch' => 1, // prefetch causes it to be cached in config settings. Usually this is a transitional setting. Some things like urls are permanent. Remove this comment if you have assessed & it should be permanent 'config_only' => 1, //@todo - see https://wiki.civicrm.org/confluence/display/CRMDOC/Settings+Reference#SettingsReference-Convertingaconfigobjecttoasetting on removing this deprecated value 'type' => 'String', 'default' => 'en_US', @@ -269,6 +269,6 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), ); diff --git a/settings/Mailing.setting.php b/settings/Mailing.setting.php index 1fe6b63529..337c41157b 100644 --- a/settings/Mailing.setting.php +++ b/settings/Mailing.setting.php @@ -49,7 +49,7 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', - 'help_text' => null, + 'help_text' => NULL, ), 'track_civimail_replies' => array( 'group_name' => 'Mailing Preferences', @@ -63,7 +63,7 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', - 'help_text' => null, + 'help_text' => NULL, 'validate_callback' => 'CRM_Core_BAO_Setting::validateBoolSetting', ), 'civimail_workflow' => array( @@ -78,7 +78,7 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', - 'help_text' => null, + 'help_text' => NULL, ), 'civimail_server_wide_lock' => array( 'group_name' => 'Mailing Preferences', @@ -91,8 +91,8 @@ return array( 'title' => 'Lock Mails Server-Wide for Mail Sending', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'mailing_backend' => array( 'group_name' => 'Mailing Preferences', @@ -105,8 +105,8 @@ return array( 'title' => 'Mailing Backend', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'profile_double_optin' => array( 'group_name' => 'Mailing Preferences', @@ -120,7 +120,7 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', - 'help_text' => null, + 'help_text' => NULL, ), 'profile_add_to_group_double_optin' => array( 'group_name' => 'Mailing Preferences', @@ -134,7 +134,7 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.', - 'help_text' => null, + 'help_text' => NULL, ), 'disable_mandatory_tokens_check' => array( 'group_name' => 'Mailing Preferences', @@ -148,7 +148,7 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Don\'t check for presence of mandatory tokens (domain address; unsubscribe/opt-out) before sending mailings. WARNING: Mandatory tokens are a safe-guard which facilitate compliance with the US CAN-SPAM Act. They should only be disabled if your organization adopts other mechanisms for compliance or if your organization is not subject to CAN-SPAM.', - 'help_text' => null, + 'help_text' => NULL, ), 'dedupe_email_default' => array( 'group_name' => 'Mailing Preferences', @@ -162,7 +162,7 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Set the "dedupe e-mail" option when sending a new mailing to "true" by default.', - 'help_text' => null, + 'help_text' => NULL, ), 'hash_mailing_url' => array( 'group_name' => 'Mailing Preferences', @@ -176,6 +176,6 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'If enabled, a randomized hash key will be used to reference the mailing URL in the mailing.viewUrl token, instead of the mailing ID', - 'help_text' => null, + 'help_text' => NULL, ), ); diff --git a/settings/Member.setting.php b/settings/Member.setting.php index 57e3eb1e69..ee9b375fe9 100644 --- a/settings/Member.setting.php +++ b/settings/Member.setting.php @@ -43,7 +43,7 @@ return array( 'name' => 'default_renewal_contribution_page', 'type' => 'Integer', 'html_type' => 'Select', - 'default' => null, + 'default' => NULL, 'pseudoconstant' => array( 'name' => 'contributionPage', ), @@ -52,6 +52,6 @@ return array( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'If you select a default online contribution page for self-service membership renewals, a "renew" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.', - 'help_text' => null, + 'help_text' => NULL, ), ); diff --git a/settings/Multisite.setting.php b/settings/Multisite.setting.php index 0b307617f4..6459aec389 100644 --- a/settings/Multisite.setting.php +++ b/settings/Multisite.setting.php @@ -43,12 +43,12 @@ return array( 'name' => 'is_enabled', 'title' => 'Multisite Is enabled', 'type' => 'Integer', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Multisite is enabled', - 'help_text' => null, + 'help_text' => NULL, ), 'domain_group_id' => array( 'group_name' => 'Multi Site Preferences', @@ -56,12 +56,12 @@ return array( 'name' => 'domain_group_id', 'title' => 'Multisite Domain Group', 'type' => 'Integer', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), 'event_price_set_domain_id' => array( 'group_name' => 'Multi Site Preferences', @@ -69,12 +69,12 @@ return array( 'name' => 'event_price_set_domain_id', 'title' => 'Domain Event Price Set', 'type' => 'Integer', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), 'uniq_email_per_site' => array( 'group_name' => 'Multi Site Preferences', @@ -82,11 +82,11 @@ return array( 'name' => 'uniq_email_per_site', 'type' => 'Integer', 'title' => 'Unique Email per Domain?', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'is_domain' => 1, 'is_contact' => 0, 'description' => '', - 'help_text' => null, + 'help_text' => NULL, ), ); diff --git a/settings/Search.setting.php b/settings/Search.setting.php index bb2f8a84aa..9afb730287 100644 --- a/settings/Search.setting.php +++ b/settings/Search.setting.php @@ -35,7 +35,7 @@ /* * Settings metadata file */ -return array ( +return array( 'search_autocomplete_count' => array( 'group_name' => 'Search Preferences', 'group' => 'Search Preferences', @@ -54,7 +54,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => 'The maximum number of contacts to show at a time when typing in an autocomplete field.', - 'help_text' => null, + 'help_text' => NULL, ), 'enable_innodb_fts' => array( 'group_name' => 'Search Preferences', @@ -69,7 +69,7 @@ return array ( 'is_domain' => 1, 'is_contact' => 0, 'description' => "Enable InnoDB full-text search optimizations. (Requires MySQL 5.6+)", - 'help_text' => null, + 'help_text' => NULL, 'on_change' => array( array('CRM_Core_InnoDBIndexer', 'onToggleFts'), ), @@ -92,7 +92,7 @@ return array ( 'title' => 'How to handle full-tet queries', 'is_domain' => 1, 'is_contact' => 0, - 'description' => null, - 'help_text' => null, + 'description' => NULL, + 'help_text' => NULL, ), ); diff --git a/settings/Url.setting.php b/settings/Url.setting.php index 2f7564b4c9..baf0cc6aad 100644 --- a/settings/Url.setting.php +++ b/settings/Url.setting.php @@ -35,20 +35,20 @@ /* * Settings metadata file */ -return array ( +return array( 'userFrameworkResourceURL' => array( 'group' => 'url', 'group_name' => 'URL Preferences', 'name' => 'userFrameworkResourceURL', 'title' => 'Script and CSS Resources URL', 'type' => 'String', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'is_domain' => 1, 'is_contact' => 0, 'description' => 'CiviCRM Resource URL', - 'help_text' => null, + 'help_text' => NULL, 'validate_callback' => 'CRM_Utils_Rule::url', ), 'imageUploadURL' => array( @@ -57,13 +57,13 @@ return array ( 'title' => 'Image URL Prefix', 'name' => 'imageUploadURL', 'type' => 'String', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Image Upload URL', - 'help_text' => null, + 'help_text' => NULL, 'validate_callback' => 'CRM_Utils_Rule::url', ), 'customCSSURL' => array( @@ -72,13 +72,13 @@ return array ( 'name' => 'customCSSURL', 'title' => 'Custom CSS', 'type' => 'String', - 'default' => null, + 'default' => NULL, 'add' => '4.1', 'prefetch' => 1, 'is_domain' => 1, 'is_contact' => 0, 'description' => 'Custom CiviCRM CSS URL', - 'help_text' => null, + 'help_text' => NULL, 'validate_callback' => 'CRM_Utils_Rule::url', ),