Merge pull request #6444 from PalanteJon/CRM-16981
[civicrm-core.git] / settings / Core.setting.php
index 9e44978be497ad65e68b5460d52882c6f367134a..d015b5dfe20814e676d4ecd50ced0d4f8877239b 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
@@ -720,6 +720,26 @@ return array(
     'description' => 'When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.',
     'help_text' => NULL,
   ),
+  'logging' => array(
+    'add' => '4.7',
+    'prefetch' => 1,
+    'help_text' => NULL,
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'group_name' => 'CiviCRM Preferences',
+    'group' => 'core',
+    'name' => 'logging',
+    'type' => 'Boolean',
+    'quick_form_type' => 'YesNo',
+    'html_type' => '',
+    'default' => '0',
+    'title' => 'Logging',
+    'description' => 'If enabled, all actions will be logged with a complete record of changes.',
+    'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
+    'on_change' => array(
+      'CRM_Logging_Schema::onToggle',
+    ),
+  ),
   'wpLoadPhp' => array(
     'group_name' => 'CiviCRM Preferences',
     'group' => 'core',