mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
add missing connect
This commit is contained in:
parent
21222508c0
commit
545a95443a
1 changed files with 1 additions and 0 deletions
|
|
@ -149,6 +149,7 @@ class NativeShare implements IShare {
|
||||||
* @throws \Icewind\SMB\Exception\InvalidTypeException
|
* @throws \Icewind\SMB\Exception\InvalidTypeException
|
||||||
*/
|
*/
|
||||||
public function del($path) {
|
public function del($path) {
|
||||||
|
$this->connect();
|
||||||
return $this->state->unlink($this->buildUrl($path));
|
return $this->state->unlink($this->buildUrl($path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue