mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Fixing use of deprecated method.
This commit is contained in:
parent
c330934b93
commit
daa97f702a
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ class SecurityComponent extends Object {
|
|||
* @see SecurityComponent::$blackHoleCallback
|
||||
*/
|
||||
function blackHole(&$controller, $error = '') {
|
||||
$this->Session->del('_Token');
|
||||
$this->Session->delete('_Token');
|
||||
|
||||
if ($this->blackHoleCallback == null) {
|
||||
$code = 404;
|
||||
|
|
Loading…
Add table
Reference in a new issue