Skip to content
Snippets Groups Projects
Commit effea790 authored by Thomas Müller's avatar Thomas Müller
Browse files

redefine reopen() in class \OC\Session\Internal to avoid accidental calls in productive code

parent 153eadd7
Branches
No related tags found
No related merge requests found
...@@ -54,4 +54,7 @@ class Internal extends Memory { ...@@ -54,4 +54,7 @@ class Internal extends Memory {
parent::close(); parent::close();
} }
public function reopen() {
throw new \Exception('The session cannot be reopened - reopen() is ony to be used in unit testing.');
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment