INFRA-132 - CRM/Custom - phpcbf
[civicrm-core.git] / CRM / Custom / Form / DeleteGroup.php
index 7f4cde49dcd9bd92453c192147a24022ed86dce4..ca19b44db6792b2e299609bc1b931e6d93055b9e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -58,7 +58,7 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
    * @return void
    * @acess protected
    */
-  function preProcess() {
+  public function preProcess() {
     $this->_id = $this->get('id');
 
     $defaults = array();
@@ -85,7 +85,6 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
    * Build the form object
    *
    * @return void
-   * @access public
    */
   public function buildQuickForm() {
 
@@ -107,7 +106,6 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
    * Process the form when submitted
    *
    * @return void
-   * @access public
    */
   public function postProcess() {
     $group = new CRM_Core_DAO_CustomGroup();
@@ -119,4 +117,3 @@ class CRM_Custom_Form_DeleteGroup extends CRM_Core_Form {
     CRM_Core_Session::setStatus(ts("The Group '%1' has been deleted.", array(1 => $group->title)), '', 'success');
   }
 }
-