refactoring various pieces of the framework.
This commit is contained in:
@@ -269,18 +269,12 @@ class Manager {
|
||||
/**
|
||||
* Close the session handling for the request.
|
||||
*
|
||||
* @param array $flash
|
||||
* @return void
|
||||
*/
|
||||
public static function close($flash = array())
|
||||
public static function close()
|
||||
{
|
||||
$config = Config::$items['session'];
|
||||
|
||||
foreach ($flash as $key => $value)
|
||||
{
|
||||
static::flash($key, $value);
|
||||
}
|
||||
|
||||
static::$driver->save(static::age(), $config, static::$exists);
|
||||
|
||||
static::$transporter->put(static::$session['id'], $config);
|
||||
|
||||
Reference in New Issue
Block a user