mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
remove unused method
This commit is contained in:
parent
0cf2fa0904
commit
7c2393afb0
3 changed files with 1 additions and 23 deletions
|
|
@ -73,11 +73,8 @@ class NativeShare implements IShare {
|
|||
}
|
||||
self::registerErrorHandler();
|
||||
$this->state = smbclient_state_new();
|
||||
$result = smbclient_state_init($this->state, $workgroup, $user, $this->server->getPassword());
|
||||
smbclient_state_init($this->state, $workgroup, $user, $this->server->getPassword());
|
||||
self::restoreErrorHandler();
|
||||
if (!$result) {
|
||||
throw new ConnectionError();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -319,11 +316,4 @@ class NativeShare implements IShare {
|
|||
));
|
||||
return fopen('nativesmb://dummy', 'w', false, $context);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Server
|
||||
*/
|
||||
public function getServer() {
|
||||
return $this->server;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue