diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-08-23 14:14:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-23 14:14:15 +0200 |
commit | 1a2c008011a185fdccfefa37c1b56a5010a07320 (patch) | |
tree | 302cf02bf58d1bb4f94b38cc3855e438688b319c /lib/public | |
parent | 232866d42ed25150358c17a0dda1a4ac0c058961 (diff) | |
parent | 1b43fbe06c7fa7eb16abe5509ecc952ddaf7c5be (diff) | |
download | nextcloud-server-1a2c008011a185fdccfefa37c1b56a5010a07320.tar.gz nextcloud-server-1a2c008011a185fdccfefa37c1b56a5010a07320.zip |
Merge pull request #32162 from nextcloud/enh/session-reopen
Avoid locking the php session
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/ISession.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/ISession.php b/lib/public/ISession.php index 2709e09d4ca..12cd716ec3f 100644 --- a/lib/public/ISession.php +++ b/lib/public/ISession.php @@ -84,6 +84,14 @@ interface ISession { public function clear(); /** + * Reopen a session for writing again + * + * @return bool true if the session was actually reopened, otherwise false + * @since 25.0.0 + */ + public function reopen(): bool; + + /** * Close the session and release the lock * @since 7.0.0 */ |