Fixing return value in Session::check()

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4707 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-03-29 13:43:06 +00:00
parent 15bae17de2
commit 1a10bf9b8a

View file

@ -117,8 +117,7 @@ class SessionHelper extends CakeSession {
if (parent::check('Message.' . $key)) {
e(parent::read('Message.' . $key));
parent::del('Message.' . $key);
} else {
return false;
return true;
}
}
return false;