Skip to content

Commit

Permalink
Fix: Deletes cookie with rcmail's setcookie() function.
Browse files Browse the repository at this point in the history
  • Loading branch information
mfreiholz committed Jun 29, 2014
1 parent b37ea37 commit 61751b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion persistent_login.php
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,6 @@ function remove_cookie($name)
if (headers_sent()) {
return false;
}
return setcookie($name, "", time() - 60);
return rcmail::get_instance()->setcookie($name, "", time() - 60);
}
}

0 comments on commit 61751b5

Please sign in to comment.