X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FSetting.php;h=ccbf3d443661cdd76a26288b25b2b10b74244faf;hb=c490a46ac4bf490d3fbb31e35d24c6b43e764f00;hp=57e8d1cdf3c95bd7162b7368a0c410255fc5f26d;hpb=b319421df58cfbeb99ca3016a8315b56690458ba;p=civicrm-core.git diff --git a/CRM/Admin/Form/Setting.php b/CRM/Admin/Form/Setting.php index 57e8d1cdf3..ccbf3d4436 100644 --- a/CRM/Admin/Form/Setting.php +++ b/CRM/Admin/Form/Setting.php @@ -43,7 +43,7 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { protected $_settings = array(); /** - * This function sets the default values for the form. + * Set default values for the form. * default values are retrieved from the database * * @access public @@ -114,7 +114,7 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { } /** - * Function to actually build the form + * Build the form object * * @return void * @access public @@ -167,7 +167,7 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { } /** - * Function to process the form + * Process the form submission * * @access public * @@ -180,6 +180,9 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { self::commonProcess($params); } + /** + * @param array $params + */ public function commonProcess(&$params) { // save autocomplete search options @@ -264,7 +267,7 @@ AND time_format <> '' unset($params[$setting]); } CRM_Core_BAO_ConfigSetting::create($params); - CRM_Core_Session::setStatus(" ", ts('Changes Saved.'), "success"); + CRM_Core_Session::setStatus(" ", ts('Changes Saved'), "success"); } public function rebuildMenu() {