} public function preDispatch() { $events =
Shopware()->
Container()->
get('events'
);
$events->
addListener('Shopware_Modules_Admin_Payment_Fallback',
[$this, 'flagPaymentBlocked'
]);
$this->
View()->
setScope(Enlight_Template_Manager::SCOPE_PARENT
);
$this->
View()->
assign('sUserLoggedIn',
$this->admin->
sCheckUser());
$this->
View()->
assign('sUserData',
$this->
getUserData());
} /**
* @deprecated in 5.6, will be protected in 5.8
*
* Called if the sAdmin resets the selected customer payment to the shop preset
*
* @return void
*/
public function flagPaymentBlocked() {