diff options
Diffstat (limited to 'apps/files_external/3rdparty/icewind/smb/src/NativeServer.php')
-rw-r--r-- | apps/files_external/3rdparty/icewind/smb/src/NativeServer.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/files_external/3rdparty/icewind/smb/src/NativeServer.php b/apps/files_external/3rdparty/icewind/smb/src/NativeServer.php index 4628e3ec108..ce8e6d636a9 100644 --- a/apps/files_external/3rdparty/icewind/smb/src/NativeServer.php +++ b/apps/files_external/3rdparty/icewind/smb/src/NativeServer.php @@ -24,12 +24,7 @@ class NativeServer extends Server { } protected function connect() { - $user = $this->getUser(); - $workgroup = null; - if (strpos($user, '/')) { - list($workgroup, $user) = explode($user, '/'); - } - $this->state->init($workgroup, $user, $this->getPassword()); + $this->state->init($this->getWorkgroup(), $this->getUser(), $this->getPassword()); } /** |