Commit 14367b51 authored by Robert Lyon's avatar Robert Lyon

Regression in session.php (Bug #1428358)

Needing to add back in the clear() function as it is called in a
number of places

Change-Id: If2ef49f9ff97195c5a949b27405007e5be871c54
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent f0c3c894
......@@ -160,6 +160,15 @@ class Session {
$this->ro_session();
}
/**
* Old way of clearing session property - added for backwards compatibility
*
* @param string $key The key to remove.
*/
public function clear($key) {
$this->__unset($key);
}
/**
* Adds a message that indicates something was successful
*
......
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