CRM-17728 enotices on payment processor form
[civicrm-core.git] / CRM / Core / Payment.php
index db6a77f1e92a1c90e93c9850f558283805c94413..77bbeaf93b2ab5da84af9f061369b54ab6df798c 100644 (file)
@@ -1200,8 +1200,7 @@ abstract class CRM_Core_Payment {
         break;
     }
 
-    $session = CRM_Core_Session::singleton();
-    $userId = $session->get('userID');
+    $userId = CRM_Core_Session::singleton()->get('userID');
     $contactID = 0;
     $checksumValue = '';
     $entityArg = '';