Depreciation of $this->controller->token->output()

Permalink
Does anyone know what version of concrete5
$this->controller->token->output()

became deprecated in favour of
$validation_token->output()

Cheers

c5hub
 
mnakalay replied on at Permalink Best Answer Reply
mnakalay
Hello,

This really is not about deprecated code. It's about having the token generator $token as a public variable in the controller (block controller most likely) or having it as a variable directly in the view.

Otherwise, you still call the same function output()