mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Fix CI
This commit is contained in:
@@ -49,19 +49,6 @@ class Session
|
||||
}
|
||||
}
|
||||
|
||||
public static function FlushSession()
|
||||
{
|
||||
if (self::IsModeCLI()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!is_null(self::$iSessionId)) {
|
||||
self::$bIsInitialized = false;
|
||||
self::$bSessionStarted = false;
|
||||
self::Start();
|
||||
}
|
||||
}
|
||||
|
||||
public static function RegenerateId($bDeleteOldSession = false)
|
||||
{
|
||||
if (self::IsModeCLI()) {
|
||||
@@ -69,6 +56,9 @@ class Session
|
||||
}
|
||||
|
||||
session_regenerate_id($bDeleteOldSession);
|
||||
if (self::$bSessionStarted) {
|
||||
self::WriteClose();
|
||||
}
|
||||
self::$bSessionStarted = session_start();
|
||||
self::$iSessionId = session_id();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user