CRM-15070 Fix for defualt value.
[civicrm-core.git] / CRM / Contribute / Form / CancelSubscription.php
index 9d9522361882d4a3ac3ec10785631cfc1743da35..53395ffe4a034f92a450475c54382e072e67fb1d 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -134,7 +134,7 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form {
   /**
    * Function to build the form
    *
-   * @return None
+   * @return void
    * @access public
    */
   public function buildQuickForm() {
@@ -203,7 +203,7 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form {
    *
    * @access public
    *
-   * @return None
+   * @return void
    */
   public function postProcess() {
     $status             = $message = NULL;
@@ -305,7 +305,7 @@ class CRM_Contribute_Form_CancelSubscription extends CRM_Core_Form {
                   'toName' => $this->_donorDisplayName,
                   'toEmail' => $this->_donorEmail,
                   );
-          list($sent) = CRM_Core_BAO_MessageTemplates::sendTemplate($sendTemplateParams);
+          list($sent) = CRM_Core_BAO_MessageTemplate::sendTemplate($sendTemplateParams);
         }
       }
       else {