X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FEvent%2FStateMachine%2FRegistration.php;h=85f58ced2b35c6046cd9132e787ece61617a01d7;hb=40db2f0f1274ec0a2381423b6ad381810a85c87c;hp=521b0a0676586399f73e91917e7fa988988fe9a3;hpb=cd061beab4edc81838d526d63d815d2d54320127;p=civicrm-core.git diff --git a/CRM/Event/StateMachine/Registration.php b/CRM/Event/StateMachine/Registration.php index 521b0a0676..85f58ced2b 100644 --- a/CRM/Event/StateMachine/Registration.php +++ b/CRM/Event/StateMachine/Registration.php @@ -42,10 +42,11 @@ class CRM_Event_StateMachine_Registration extends CRM_Core_StateMachine { /** * class constructor * - * @param object CRM_Event_Controller - * @param int $action + * @param object $controller + * @param \const|int $action * - * @return object CRM_Event_StateMachine + * @internal param \CRM_Event_Controller $object + * @return \CRM_Event_StateMachine_Registration CRM_Event_StateMachine */ function __construct($controller, $action = CRM_Core_Action::NONE) { parent::__construct($controller, $action); @@ -89,7 +90,7 @@ class CRM_Event_StateMachine_Registration extends CRM_Core_StateMachine { ); $pages = array_merge($pages, $additionalPages); - + // CRM-11182 - Optional confirmation screen if (!$is_confirm_enabled && !$is_monetary) { unset($pages['CRM_Event_Form_Registration_Confirm']);