CRM-14811 - "Adminster => System => Misc" - Add option to enable InnoDB FTS
authorTim Otten <totten@civicrm.org>
Sat, 7 Jun 2014 02:40:58 +0000 (19:40 -0700)
committerTim Otten <totten@civicrm.org>
Sat, 7 Jun 2014 03:11:27 +0000 (20:11 -0700)
CRM/Admin/Form/Setting/Miscellaneous.php
templates/CRM/Admin/Form/Setting/Miscellaneous.tpl

index 1c357d9cafacd52421a6149a192c7691161a6e60..11b6f222c93c615daa8f700525435e70d4c70dad 100644 (file)
@@ -48,6 +48,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting {
     'maxFileSize' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
     'doNotAttachPDFReceipt' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
     'secondDegRelPermissions' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
+    'enable_innodb_fts' => CRM_Core_BAO_Setting::SYSTEM_PREFERENCES_NAME,
   );
 
   /**
index 342952ab1291dcdcd261add21528c5fa9c05fb97..a06f3be5bed5c35321f7616fa4ae70b9a48c53e3 100644 (file)
                 <p class="description">{ts}If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts.{/ts}</p>
             </td>
         </tr>
+
+        <tr class="crm-miscellaneous-form-block-enable_innodb_fts">
+            <td class="label">{$form.enable_innodb_fts.label}</td>
+            <td>{$form.enable_innodb_fts.html}<br />
+                <p class="description">{$enable_innodb_fts_description}</p>
+            </td>
+        </tr>
     </table>
 <h3>{ts}reCAPTCHA Keys{/ts}</h3>
     <div class="description">