Skip to content

Commit f4588df

Browse files
dermalikmannblizzz
authored andcommitted
style(PHP): fix code style
Signed-off-by: Malik <3097625+dermalikmann@users.noreply.github.com>
1 parent d61bcd3 commit f4588df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/UserBackend.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ public function createUserIfNotExists(string $uid, array $attributes = []): void
123123
if ($home !== '') {
124124
//if attribute's value is an absolute path take this, otherwise append it to data dir
125125
//check for / at the beginning or pattern c:\ resp. c:/
126-
if ($home[0] !== '/'
127-
&& !(strlen($home) > 3 && ctype_alpha($home[0])
128-
&& $home[1] === ':' && ($home[2] === '\\' || $home[2] === '/'))
126+
if ($home[0] !== '/'
127+
&& !(strlen($home) > 3 && ctype_alpha($home[0])
128+
&& $home[1] === ':' && ($home[2] === '\\' || $home[2] === '/'))
129129
) {
130130
$home = $this->config->getSystemValue('datadirectory',
131131
\OC::$SERVERROOT.'/data') . '/' . $home;

0 commit comments

Comments
 (0)