Skip to content

Commit

Permalink
remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <[email protected]>
  • Loading branch information
blizzz committed Oct 11, 2022
1 parent 26bb6aa commit 40dd91b
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/Migration/RememberLocalGroupsForPotentialMigrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

use OC\Group\Database;
use OCA\User_SAML\GroupManager;
use OCA\User_SAML\UserBackend;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\Migration\IOutput;
Expand All @@ -41,17 +40,13 @@ class RememberLocalGroupsForPotentialMigrations implements IRepairStep {
private $groupManager;
/** @var IConfig */
private $config;
/** @var UserBackend */
private $ownUserBackend;

public function __construct(
IGroupManager $groupManager,
IConfig $config,
UserBackend $ownUserBackend
IConfig $config
) {
$this->groupManager = $groupManager;
$this->config = $config;
$this->ownUserBackend = $ownUserBackend;
}

public function getName(): string {
Expand Down Expand Up @@ -98,7 +93,6 @@ protected function findBackend(): Database {
foreach ($groupBackends as $backend) {
if ($backend instanceof Database) {
return $backend;
break;
}
}
throw new UnexpectedValueException();
Expand Down

0 comments on commit 40dd91b

Please sign in to comment.