Commit 2d16e8b5 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Oops, NOW there's a helper function for clearing sessions, and no random angry

PHP telling me I can't redeclare methods
parent c3078447
......@@ -82,7 +82,7 @@ class Session {
*
* @param string $key The key to set.
*/
public function set($key) {
public function unset($key) {
$this->ensure_session();
$_SESSION[$key] = null;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment