mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
minor code cleanup
This commit is contained in:
parent
471824d423
commit
9c50244e67
2 changed files with 2 additions and 3 deletions
|
|
@ -218,8 +218,7 @@ class Share extends AbstractShare {
|
|||
public function rename($from, $to) {
|
||||
$path1 = $this->escapePath($from);
|
||||
$path2 = $this->escapePath($to);
|
||||
$cmd = 'rename ' . $path1 . ' ' . $path2;
|
||||
$output = $this->execute($cmd);
|
||||
$output = $this->execute('rename ' . $path1 . ' ' . $path2);
|
||||
return $this->parseOutput($output, $to);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue