mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 00:48:25 +00:00
Removing forced return true
This commit is contained in:
parent
1c593eea63
commit
9abb4e19f2
1 changed files with 0 additions and 1 deletions
|
@ -136,7 +136,6 @@ class DatabaseSession implements CakeSessionHandlerInterface {
|
|||
* @return bool True for successful delete, false otherwise.
|
||||
*/
|
||||
public function destroy($id) {
|
||||
return true;
|
||||
return (bool)$this->_model->delete($id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue