X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FPreferences%2FMultisite.php;h=db9930e1cb16558e3e48d60a6a232710be8f5a8b;hb=177130d57b82f2492f091cfe8f6f058036e82b24;hp=4aa58a961bf79a665aeced9463d817b6cb186700;hpb=fdbbaeee16125840b9e5daed81dbbb28e2db2b21;p=civicrm-core.git diff --git a/CRM/Admin/Form/Preferences/Multisite.php b/CRM/Admin/Form/Preferences/Multisite.php index 4aa58a961b..db9930e1cb 100644 --- a/CRM/Admin/Form/Preferences/Multisite.php +++ b/CRM/Admin/Form/Preferences/Multisite.php @@ -1,9 +1,9 @@ _varNames = array( - CRM_Core_BAO_Setting::MULTISITE_PREFERENCES_NAME => array( - 'is_enabled' => array( - 'html_type' => 'checkbox', - 'title' => ts('Enable Multi Site Configuration'), - 'weight' => 1, - 'description' => ts('Make CiviCRM aware of multiple domains. You should configure a domain group if enabled') . ' ' . $msDoc, - ), - /** Remove this checkbox until some one knows what this setting does - * 'uniq_email_per_site' => array( - * 'html_type' => 'checkbox', - * 'title' => ts('Ensure multi sites have a unique email per site'), - * 'weight' => 2, - * 'description' => NULL, - * ), - */ - 'domain_group_id' => array( - 'html_type' => 'entity_reference', - 'title' => ts('Domain Group'), - 'weight' => 3, - 'options' => array('entity' => 'group', 'select' => array('minimumInputLength' => 0)), - 'description' => ts('Contacts created on this site are added to this group'), - ), - /** Remove this checkbox until some one knows what this setting does - * 'event_price_set_domain_id' => array( - * 'html_type' => 'text', - * 'title' => ts('Domain for event price sets'), - * 'weight' => 4, - * 'description' => NULL, - * ), - */ - ), - ); - parent::preProcess(); - } + protected $_settings = [ + 'is_enabled' => CRM_Core_BAO_Setting::MULTISITE_PREFERENCES_NAME, + 'domain_group_id' => CRM_Core_BAO_Setting::MULTISITE_PREFERENCES_NAME, + ]; }