Skip to content

Commit

Permalink
Merge pull request #66 from davidosomething/patch-2
Browse files Browse the repository at this point in the history
redirect() does not return a value
  • Loading branch information
Daniel committed Jan 27, 2012
2 parents 43e110f + 16067f6 commit 53d0b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function logout()
{
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$this->sauth->logout();
return redirect('/');
redirect('/');
}
}

Expand Down

0 comments on commit 53d0b51

Please sign in to comment.