Fixing use of deprecated method.

This commit is contained in:
mark_story 2009-09-25 11:36:27 -04:00
parent c330934b93
commit daa97f702a

View file

@ -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;