summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-09-29 12:17:47 +0545
committerPhil Davis <phil.davis@inf.org>2015-09-29 12:17:47 +0545
commit7940a3fb659221580fb2f5663048718fe67e4d02 (patch)
treebaeec6e70a80fb184b9e7bf383dc9432899853d2 /lib/private
parentaa3596a410a59c4e3010ba6b8fd832de96636d94 (diff)
downloadnextcloud-server-7940a3fb659221580fb2f5663048718fe67e4d02.tar.gz
nextcloud-server-7940a3fb659221580fb2f5663048718fe67e4d02.zip
Session closed exception wording
and a small comment typo
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/session/cryptowrapper.php2
-rw-r--r--lib/private/session/internal.php2
-rw-r--r--lib/private/session/memory.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/session/cryptowrapper.php b/lib/private/session/cryptowrapper.php
index 261514d683e..70c1dab7404 100644
--- a/lib/private/session/cryptowrapper.php
+++ b/lib/private/session/cryptowrapper.php
@@ -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
diff --git a/lib/private/session/internal.php b/lib/private/session/internal.php
index 8ee21272104..e10999ec48f 100644
--- a/lib/private/session/internal.php
+++ b/lib/private/session/internal.php
@@ -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');
}
}
}
diff --git a/lib/private/session/memory.php b/lib/private/session/memory.php
index 1cae62e44d3..0fc9165c7cd 100644
--- a/lib/private/session/memory.php
+++ b/lib/private/session/memory.php
@@ -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');
}
}
}