inst_clearAll() does not return anything so clear_all() method should not expect any return value from inst_clearAll invocation

This commit is contained in:
joaosantos81 2012-04-20 18:36:11 +02:00
parent d30b4b1d00
commit 611cd53be8

View File

@ -257,12 +257,12 @@ class Session {
/**
* Clear all the values
*
* @return void
*/
public static function clear_all() {
$ret = self::current_session()->inst_clearAll();
self::$default_session = null;
return $ret;
self::current_session()->inst_clearAll();
self::$default_session = null;
}
/**