diff options
Diffstat (limited to 'lib/private/session')
-rw-r--r-- | lib/private/session/memory.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/private/session/memory.php b/lib/private/session/memory.php index 8434b6000e5..1497c0f8928 100644 --- a/lib/private/session/memory.php +++ b/lib/private/session/memory.php @@ -64,6 +64,13 @@ class Memory extends Session { } /** + * Helper function for PHPUnit execution - don't use in non-test code + */ + public function reopen() { + $this->sessionClosed = false; + } + + /** * In case the session has already been locked an exception will be thrown * * @throws \Exception |