summaryrefslogtreecommitdiffstats
path: root/lib/public/isession.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-03-10 14:21:12 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2014-03-10 14:21:12 +0100
commit73a1ece7533b9d90305e11052947809b91850184 (patch)
treeef77e774fe93694559cdd8642ddc5b821c3090ba /lib/public/isession.php
parent0ffd32a1ae8c4b9da2434a0b5623c1fe6e910467 (diff)
downloadnextcloud-server-73a1ece7533b9d90305e11052947809b91850184.tar.gz
nextcloud-server-73a1ece7533b9d90305e11052947809b91850184.zip
adding an explicit close method to class session - write operations (set and remove) being called after close() will throw an exception
Diffstat (limited to 'lib/public/isession.php')
-rw-r--r--lib/public/isession.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/isession.php b/lib/public/isession.php
index 20da712cda3..dc5719625cc 100644
--- a/lib/public/isession.php
+++ b/lib/public/isession.php
@@ -75,4 +75,9 @@ interface ISession {
*/
public function clear();
+ /**
+ * Close the session and release the lock
+ */
+ public function close();
+
}