Skip to content

Commit

Permalink
Removing forced return true
Browse files Browse the repository at this point in the history
  • Loading branch information
phpnut committed Dec 22, 2015
1 parent 1c593ee commit 9abb4e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/Cake/Model/Datasource/Session/DatabaseSession.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit 9abb4e1

Please sign in to comment.