From 18fe20ebde71c79cc571c74bb3bd9a7db5c8eace Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 16 Mar 2019 10:11:45 +1300 Subject: [PATCH] [NFC] remove unnecessary variable --- CRM/Event/Form/Registration/Confirm.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index 8557a30dec..d7475ca9c9 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -527,8 +527,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { // transactions etc // for things like tell a friend if (!$this->getContactID() && !empty($value['is_primary'])) { - $session = CRM_Core_Session::singleton(); - $session->set('transaction.userID', $contactID); + CRM_Core_Session::singleton()->set('transaction.userID', $contactID); } $value['description'] = ts('Online Event Registration') . ': ' . $this->_values['event']['title']; -- 2.25.1