diff options
Diffstat (limited to 'lib/private/session/memory.php')
-rw-r--r-- | lib/private/session/memory.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/session/memory.php b/lib/private/session/memory.php index 1562c2ce037..8434b6000e5 100644 --- a/lib/private/session/memory.php +++ b/lib/private/session/memory.php @@ -63,6 +63,11 @@ class Memory extends Session { $this->data = array(); } + /** + * In case the session has already been locked an exception will be thrown + * + * @throws \Exception + */ private function validateSession() { if ($this->sessionClosed) { throw new \Exception('Session has been closed - no further changes to the session as allowed'); |