diff options
| author | Sem <sembrestels@riseup.net> | 2013-02-13 01:25:07 +0100 | 
|---|---|---|
| committer | Sem <sembrestels@riseup.net> | 2013-02-13 01:25:07 +0100 | 
| commit | 5aff5b3913fbb6226d8fb3162453c58888fba38d (patch) | |
| tree | 2bf8fe649d8c9d09a3be03154c4c669bccfbc54c /engine/classes/ElggSession.php | |
| parent | 3ed289b03fa3d851fd7fffbc0441ebc9b5e98310 (diff) | |
| parent | 8d3a7ab1755829c6e070a038d6b33e326de8fc8f (diff) | |
| download | elgg-5aff5b3913fbb6226d8fb3162453c58888fba38d.tar.gz elgg-5aff5b3913fbb6226d8fb3162453c58888fba38d.tar.bz2  | |
Merge tag '1.8.13' of git://github.com/Elgg/Elgg
Elgg 1.8.13 release
Diffstat (limited to 'engine/classes/ElggSession.php')
| -rw-r--r-- | engine/classes/ElggSession.php | 14 | 
1 files changed, 8 insertions, 6 deletions
diff --git a/engine/classes/ElggSession.php b/engine/classes/ElggSession.php index 13a33736c..9750f063e 100644 --- a/engine/classes/ElggSession.php +++ b/engine/classes/ElggSession.php @@ -54,7 +54,7 @@ class ElggSession implements ArrayAccess {  	 *  	 * @param mixed $key Name  	 * -	 * @return void +	 * @return mixed  	 */  	function offsetGet($key) {  		if (!ElggSession::$__localcache) { @@ -98,7 +98,7 @@ class ElggSession implements ArrayAccess {  	 *  	 * @param int $offset Offset  	 * -	 * @return int +	 * @return bool  	 */  	function offsetExists($offset) {  		if (isset(ElggSession::$__localcache[$offset])) { @@ -112,6 +112,8 @@ class ElggSession implements ArrayAccess {  		if ($this->offsetGet($offset)) {  			return true;  		} + +		return false;  	} @@ -132,10 +134,10 @@ class ElggSession implements ArrayAccess {  	 * @param string $key   Name  	 * @param mixed  $value Value  	 * -	 * @return mixed +	 * @return void  	 */  	function set($key, $value) { -		return $this->offsetSet($key, $value); +		$this->offsetSet($key, $value);  	}  	/** @@ -143,9 +145,9 @@ class ElggSession implements ArrayAccess {  	 *  	 * @param string $key Name  	 * -	 * @return bool +	 * @return void  	 */  	function del($key) { -		return $this->offsetUnset($key); +		$this->offsetUnset($key);  	}  }  | 
