From daa97f702af1d54572a8e099fe83ad4b8b8b18e6 Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 25 Sep 2009 11:36:27 -0400 Subject: [PATCH] Fixing use of deprecated method. --- cake/libs/controller/components/security.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/libs/controller/components/security.php b/cake/libs/controller/components/security.php index 44153b19e..fe6d8e73f 100644 --- a/cake/libs/controller/components/security.php +++ b/cake/libs/controller/components/security.php @@ -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;