redefine reopen() in class \OC\Session\Internal to avoid accidental calls in productive code
This commit is contained in:
parent
153eadd753
commit
effea790c7
|
@ -54,4 +54,7 @@ class Internal extends Memory {
|
|||
parent::close();
|
||||
}
|
||||
|
||||
public function reopen() {
|
||||
throw new \Exception('The session cannot be reopened - reopen() is ony to be used in unit testing.');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue