INFRA-132 - Add space before "{"
[civicrm-core.git] / CRM / Event / Task.php
index 4793f8944d9c0bc5ebdb48f93a3f279eb124f029..fa9b877582a0e75ef3e9893409f4e6eb9c197395 100644 (file)
@@ -70,7 +70,8 @@ class CRM_Event_Task {
    */
   public static function &tasks() {
     if (!(self::$_tasks)) {
-      self::$_tasks = array(1 => array(
+      self::$_tasks = array(
+      1 => array(
         'title' => ts('Delete Participants'),
           'class' => 'CRM_Event_Form_Task_Delete',
           'result' => FALSE,
@@ -138,8 +139,8 @@ class CRM_Event_Task {
         unset(self::$_tasks[1]);
       }
       //CRM-12920 - check for edit permission
-      if( !CRM_Core_Permission::check('edit event participants') ){
-        unset(self::$_tasks[4],self::$_tasks[5],self::$_tasks[15]);
+      if (!CRM_Core_Permission::check('edit event participants') ) {
+        unset(self::$_tasks[4], self::$_tasks[5], self::$_tasks[15]);
       }
     }