Skip to content
Snippets Groups Projects
Commit c269f658 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #19431 from phil-davis/r2

Session closed exception wording
parents aa3596a4 7940a3fb
Branches
No related tags found
No related merge requests found
...@@ -39,7 +39,7 @@ use OCP\Security\ISecureRandom; ...@@ -39,7 +39,7 @@ use OCP\Security\ISecureRandom;
* it as an additional small security obfuscation layer to comply with compliance * it as an additional small security obfuscation layer to comply with compliance
* guidelines. * guidelines.
* *
* TODO: Remove this in a future relase with an approach such as * TODO: Remove this in a future release with an approach such as
* https://github.com/owncloud/core/pull/17866 * https://github.com/owncloud/core/pull/17866
* *
* @package OC\Session * @package OC\Session
......
...@@ -106,7 +106,7 @@ class Internal extends Session { ...@@ -106,7 +106,7 @@ class Internal extends Session {
private function validateSession() { private function validateSession() {
if ($this->sessionClosed) { if ($this->sessionClosed) {
throw new \Exception('Session has been closed - no further changes to the session as allowed'); throw new \Exception('Session has been closed - no further changes to the session are allowed');
} }
} }
} }
...@@ -93,7 +93,7 @@ class Memory extends Session { ...@@ -93,7 +93,7 @@ class Memory extends Session {
*/ */
private function validateSession() { private function validateSession() {
if ($this->sessionClosed) { if ($this->sessionClosed) {
throw new \Exception('Session has been closed - no further changes to the session as allowed'); throw new \Exception('Session has been closed - no further changes to the session are allowed');
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment