Merge pull request #7646 from joshgowans/patch-1
[civicrm-core.git] / settings / Core.setting.php
index 583efaad50f4addfa82573c78f8d65ffb94c3e12..5b5a0ca24f5103645fc772f0060d3613f710857c 100644 (file)
@@ -294,6 +294,21 @@ return array(
     'description' => NULL,
     'help_text' => NULL,
   ),
+  'installed' => array(
+    'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'installed',
+    'type' => 'Boolean',
+    'quick_form_type' => 'YesNo',
+    'default' => FALSE,
+    'add' => '4.7',
+    'title' => 'System Installed',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => 'A flag indicating whether this system has run a post-installation routine',
+    'help_text' => NULL,
+  ),
   'max_attachments' => array(
     'group_name' => 'CiviCRM Preferences',
     'group' => 'core',
@@ -361,50 +376,6 @@ return array(
     'description' => 'Allow Permanent Delete for contacts who are linked to live financial transactions',
     'help_text' => NULL,
   ),
-  'versionAlert' => array(
-    'group_name' => 'CiviCRM Preferences',
-    'group' => 'core',
-    'name' => 'versionAlert',
-    'type' => 'Boolean',
-    'quick_form_type' => 'YesNo',
-    'default' => 1,
-    'add' => '4.3',
-    'title' => 'New Version Alerts',
-    'is_domain' => 1,
-    'is_contact' => 0,
-    'description' => "",
-    'help_text' => NULL,
-  ),
-  'versionCheck' => array(
-    'group_name' => 'CiviCRM Preferences',
-    'group' => 'core',
-    'name' => 'versionCheck',
-    'type' => 'Boolean',
-    'quick_form_type' => 'YesNo',
-    'default' => 1,
-    'add' => '4.3',
-    'title' => 'Automatically Check for Updates',
-    'is_domain' => 1,
-    'is_contact' => 0,
-    'description' => "",
-    'help_text' => NULL,
-  ),
-  'versionCheckIgnoreDate' => array(
-    'group_name' => 'CiviCRM Preferences',
-    'group' => 'core',
-    'name' => 'versionCheckIgnoreDate',
-    'type' => 'String',
-    'quick_form_type' => 'Element',
-    'html_type' => 'text',
-    'html_attributes' => array('placeholder' => 'YYYY-MM-DD'),
-    'default' => '',
-    'add' => '4.6',
-    'title' => 'Ignore Updates Prior to',
-    'is_domain' => 1,
-    'is_contact' => 0,
-    'description' => "",
-    'help_text' => NULL,
-  ),
   'securityAlert' => array(
     'group_name' => 'CiviCRM Preferences',
     'group' => 'core',
@@ -484,7 +455,7 @@ return array(
     'html_type' => 'Text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Recaptcha Public Key',
+    'title' => 'Recaptcha Site Key',
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -503,7 +474,7 @@ return array(
     'html_type' => 'Text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Recaptcha Private Key',
+    'title' => 'Recaptcha Secret Key',
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => NULL,
@@ -609,15 +580,9 @@ return array(
     'group' => 'core',
     'name' => 'resCacheCode',
     'type' => 'String',
-    'quick_form_type' => 'Element',
-    'html_attributes' => array(
-      'size' => 16,
-      'maxlength' => 16,
-    ),
-    'html_type' => 'Text',
     'default' => NULL,
     'add' => '4.3',
-    'title' => 'Resource Cache Code',
+    'title' => 'resCacheCode',
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => 'Code appended to resource URLs (JS/CSS) to coerce HTTP caching',
@@ -787,4 +752,30 @@ return array(
     'description' => 'CiviCRM will use this setting as path to bootstrap WP.',
     'help_text' => NULL,
   ),
+  'site_id' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'site_id',
+    'type' => 'String',
+    'default' => '',
+    'add' => '4.6',
+    'title' => 'Unique Site ID',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => NULL,
+    'help_text' => NULL,
+  ),
+  'systemStatusCheckResult' => array(
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'systemStatusCheckResult',
+    'type' => 'Integer',
+    'default' => 0,
+    'add' => '4.7',
+    'title' => 'systemStatusCheckResult',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => NULL,
+    'help_text' => NULL,
+  ),
 );