From a661f043e1a8764cb7c795f50df77b830d3e352b Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Fri, 26 Jan 2018 23:46:40 +0100 Subject: Remove unneeded semicolon and parentheses Signed-off-by: Morris Jobke --- lib/private/User/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/User/User.php') diff --git a/lib/private/User/User.php b/lib/private/User/User.php index d352101ba40..56c489181de 100644 --- a/lib/private/User/User.php +++ b/lib/private/User/User.php @@ -352,7 +352,7 @@ class User implements IUser { public function setEnabled($enabled) { $oldStatus = $this->isEnabled(); $this->enabled = $enabled; - $enabled = ($enabled) ? 'true' : 'false'; + $enabled = $enabled ? 'true' : 'false'; if ($oldStatus !== $this->enabled) { $this->triggerChange('enabled', $enabled); $this->config->setUserValue($this->uid, 'core', 'enabled', $enabled); -- cgit v1.2.3