diff options
author | Claus-Justus Heine <himself@claus-justus-heine.de> | 2022-02-21 00:04:47 +0100 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2023-04-17 16:23:02 +0200 |
commit | 45ec4324926f306e51c234eb7b9451b1afc753a6 (patch) | |
tree | acc8f5f9c83563c97e88d505bce6cbf6a9270579 /lib/private/Session | |
parent | e63720b7140d15cd4c0b080c57c226d9a2dda8a6 (diff) | |
download | nextcloud-server-45ec4324926f306e51c234eb7b9451b1afc753a6.tar.gz nextcloud-server-45ec4324926f306e51c234eb7b9451b1afc753a6.zip |
Don't call session_start() when PHP session is still or already open.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
Diffstat (limited to 'lib/private/Session')
-rw-r--r-- | lib/private/Session/Internal.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Session/Internal.php b/lib/private/Session/Internal.php index 87dd5ed6014..cae139018f8 100644 --- a/lib/private/Session/Internal.php +++ b/lib/private/Session/Internal.php @@ -107,6 +107,7 @@ class Internal extends Session { $this->reopen(); $this->invoke('session_unset'); $this->regenerateId(); + $this->invoke('session_write_close'); $this->startSession(true); $_SESSION = []; } |