mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Pass a connection to a command instead of the share
This commit is contained in:
parent
0b2dd15499
commit
2be5320595
6 changed files with 22 additions and 40 deletions
|
|
@ -9,8 +9,8 @@
|
|||
namespace SMB\Command;
|
||||
|
||||
class Rename extends Double {
|
||||
public function __construct($share) {
|
||||
parent::__construct($share);
|
||||
public function __construct($connection) {
|
||||
parent::__construct($connection);
|
||||
$this->command = 'rename';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue