| @@ 49-54 (lines=6) @@ | ||
| 46 | * @param IConfig $config |
|
| 47 | * @param IDBConnection $connection |
|
| 48 | */ |
|
| 49 | public function __construct(IUserManager $userManager, IConfig $config, IDBConnection $connection) { |
|
| 50 | parent::__construct(); |
|
| 51 | $this->userManager = $userManager; |
|
| 52 | $this->config = $config; |
|
| 53 | $this->connection = $connection; |
|
| 54 | } |
|
| 55 | ||
| 56 | protected function configure() { |
|
| 57 | parent::configure(); |
|
| @@ 71-81 (lines=11) @@ | ||
| 68 | * @param \OCP\IConfig $config |
|
| 69 | * @param \OCP\IDBConnection $connection |
|
| 70 | */ |
|
| 71 | public function __construct( |
|
| 72 | IConfig $config, |
|
| 73 | IDBConnection $connection, |
|
| 74 | IUserManager $userManager, |
|
| 75 | IGroupManager $groupManager |
|
| 76 | ) { |
|
| 77 | $this->connection = $connection; |
|
| 78 | $this->config = $config; |
|
| 79 | $this->userManager = $userManager; |
|
| 80 | $this->groupManager = $groupManager; |
|
| 81 | } |
|
| 82 | ||
| 83 | public function getName() { |
|
| 84 | return 'Repair unmerged shares'; |
|