Pass a connection to a command instead of the share

This commit is contained in:
Robin Appelman 2013-03-04 01:34:00 +01:00
commit 2be5320595
6 changed files with 22 additions and 40 deletions

View file

@ -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';
}
}