Skip to content
Permalink
Browse files

Removing forced return true

  • Loading branch information...
phpnut committed Dec 22, 2015
1 parent 1c593ee commit 9abb4e19f238f21d22d3cf460471b73643939def
Showing with 0 additions and 1 deletion.
  1. +0 −1 lib/Cake/Model/Datasource/Session/DatabaseSession.php
@@ -136,7 +136,6 @@ public function write($id, $data) {
* @return bool True for successful delete, false otherwise.
*/
public function destroy($id) {
return true;
return (bool)$this->_model->delete($id);
}

0 comments on commit 9abb4e1

Please sign in to comment.
You can’t perform that action at this time.