X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FImport%2FStateMachine.php;h=2f213198db610184c7efbb65f8afd75f8aedc3c5;hb=c7c449f80eed9dfc2de83dbad89bf6fd6ec98120;hp=95633c4ee0a62bd8a519500e04f4e8df75de9fb7;hpb=518669f7fc6076a1246f3628f243097338d73876;p=civicrm-core.git diff --git a/CRM/Import/StateMachine.php b/CRM/Import/StateMachine.php index 95633c4ee0..2f213198db 100644 --- a/CRM/Import/StateMachine.php +++ b/CRM/Import/StateMachine.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @copyright CiviCRM LLC (c) 2004-2019 */ /** @@ -46,12 +46,12 @@ class CRM_Import_StateMachine extends CRM_Core_StateMachine { parent::__construct($controller, $action); $classType = str_replace('_Controller', '', get_class($controller)); - $this->_pages = array( + $this->_pages = [ $classType . '_Form_DataSource' => NULL, $classType . '_Form_MapField' => NULL, $classType . '_Form_Preview' => NULL, $classType . '_Form_Summary' => NULL, - ); + ]; $this->addSequentialPages($this->_pages, $action); }