Skip to content

Commit

Permalink
Dev Fixed Response->delete not having return value.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Oct 28, 2015
1 parent d856659 commit 2ba8c63
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions application/models/Response.php
Expand Up @@ -66,11 +66,10 @@ public function deleteFiles()
}
}
public function delete($deleteFiles = false) {
if ($deleteFiles)
{
if ($deleteFiles) {
$this->deleteFiles();
}
parent::delete();
return parent::delete();
}
public function relations()
{
Expand Down

0 comments on commit 2ba8c63

Please sign in to comment.