summaryrefslogtreecommitdiffstats
path: root/lib/private/Log/File.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Log/File.php')
-rw-r--r--lib/private/Log/File.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log/File.php b/lib/private/Log/File.php
index 290f7897c9d..ba5027251d7 100644
--- a/lib/private/Log/File.php
+++ b/lib/private/Log/File.php
@@ -101,7 +101,7 @@ class File {
$url = ($request->getRequestUri() !== '') ? $request->getRequestUri() : '--';
$method = is_string($request->getMethod()) ? $request->getMethod() : '--';
if($config->getValue('installed', false)) {
- $user = (\OC_User::getUser()) ? \OC_User::getUser() : '--';
+ $user = \OC_User::getUser() ? \OC_User::getUser() : '--';
} else {
$user = '--';
}