aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Config/UserContext.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/lib/Config/UserContext.php')
-rw-r--r--apps/files_external/lib/Config/UserContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Config/UserContext.php b/apps/files_external/lib/Config/UserContext.php
index 55193c8ef24..6fe679c60b2 100644
--- a/apps/files_external/lib/Config/UserContext.php
+++ b/apps/files_external/lib/Config/UserContext.php
@@ -37,7 +37,7 @@ class UserContext {
if ($this->userId !== null) {
return $this->userId;
}
- if ($this->session && $this->session->getUser() !== null) {
+ if ($this->session->getUser() !== null) {
return $this->session->getUser()->getUID();
}
try {