From 9abb4e19f238f21d22d3cf460471b73643939def Mon Sep 17 00:00:00 2001 From: "Larry E. Masters" Date: Tue, 22 Dec 2015 16:22:34 -0500 Subject: [PATCH] Removing forced return true --- lib/Cake/Model/Datasource/Session/DatabaseSession.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Cake/Model/Datasource/Session/DatabaseSession.php b/lib/Cake/Model/Datasource/Session/DatabaseSession.php index 2649cdfaf..282cb4cfc 100644 --- a/lib/Cake/Model/Datasource/Session/DatabaseSession.php +++ b/lib/Cake/Model/Datasource/Session/DatabaseSession.php @@ -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); }