Session closed exception wording

and a small comment typo
This commit is contained in:
Phil Davis 2015-09-29 12:17:47 +05:45
parent aa3596a410
commit 7940a3fb65
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ use OCP\Security\ISecureRandom;
* it as an additional small security obfuscation layer to comply with compliance
* 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
*
* @package OC\Session

View File

@ -106,7 +106,7 @@ class Internal extends Session {
private function validateSession() {
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');
}
}
}

View File

@ -93,7 +93,7 @@ class Memory extends Session {
*/
private function validateSession() {
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');
}
}
}