Merge pull request #4857 from atif-shaikh/CRM-15203
[civicrm-core.git] / CRM / Campaign / Form / Task.php
index 6178eecc776cb10915d7f57fa4e216bd27440717..be6cfefe4a94bf8e17b5e7a591f9f39bb50ee8e2 100755 (executable)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -80,8 +80,8 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
    * @param
    *
    * @return void
-   * @access public
-   */ function preProcess() {
+   */
+  function preProcess() {
     $values = $this->controller->exportValues('Search');
 
     $this->_task   = $values['task'];
@@ -141,9 +141,8 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
    * @param bool $submitOnce
    *
    * @return void
-   * @access public
    */
-  function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
+  public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
     $this->addButtons(array(
         array(
           'type' => $nextType,
@@ -158,4 +157,3 @@ class CRM_Campaign_Form_Task extends CRM_Core_Form {
     );
   }
 }
-