Merge pull request #2279 from colemanw/optionForms
[civicrm-core.git] / CRM / Admin / Form / PreferencesDate.php
index 42dca3889402d47c30fc98de85b85e8b8d43ff0d..25a84465c22003d2ac3f58cfb7d2717aeb1f4633 100644 (file)
@@ -42,7 +42,7 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
   /**
    * Function to build the form
    *
-   * @return None
+   * @return void
    * @access public
    */
   public function buildQuickForm() {
@@ -68,7 +68,7 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
     $this->add('text', 'start', ts('Start Offset'), $attributes['start'], TRUE);
     $this->add('text', 'end', ts('End Offset'), $attributes['end'], TRUE);
 
-    $formatType = CRM_Core_Dao::getFieldValue('CRM_Core_DAO_PreferencesDate', $this->_id, 'name');
+    $formatType = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_PreferencesDate', $this->_id, 'name');
 
     if ($formatType == 'creditCard') {
       $this->add('text', 'date_format', ts('Format'), $attributes['date_format'], TRUE);
@@ -113,7 +113,7 @@ class CRM_Admin_Form_PreferencesDate extends CRM_Admin_Form {
    *
    * @access public
    *
-   * @return None
+   * @return void
    */
   public function postProcess() {
     if (!($this->_action & CRM_Core_Action::UPDATE)) {