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

This commit is contained in:
Thomas Müller 2014-03-18 11:44:22 +01:00
parent 153eadd753
commit effea790c7
1 changed files with 3 additions and 0 deletions

View File

@ -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.');
}
}