From 5b0e9dee9176c479791b8d70b1651edd1aff1f1b Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 10 Feb 2025 15:18:42 +0100 Subject: [PATCH] chore: formatting Signed-off-by: Robin Appelman --- lib/Migration/OwncloudGuestsMigration.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/Migration/OwncloudGuestsMigration.php b/lib/Migration/OwncloudGuestsMigration.php index 7df6b040..f94685a5 100644 --- a/lib/Migration/OwncloudGuestsMigration.php +++ b/lib/Migration/OwncloudGuestsMigration.php @@ -9,12 +9,9 @@ namespace OCA\Guests\Migration; -use OCA\Guests\GuestManager; use OCA\Guests\UserBackend; -use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\IConfig; use OCP\IDBConnection; -use OCP\IUser; use OCP\IUserManager; use OCP\Migration\IOutput; use OCP\Migration\IRepairStep; @@ -30,7 +27,8 @@ public function __construct( protected IConfig $config, protected IUserManager $userManager, protected UserBackend $guestUserBackend, - ) {} + ) { + } public function getName(): string { return 'Converts owncloud guests to nextcloud guests'; @@ -45,7 +43,7 @@ public function run(IOutput $output): void { } } - protected function shouldRun(): bool{ + protected function shouldRun(): bool { $schema = $this->db->createSchema(); $prefix = $this->config->getSystemValueString('dbtableprefix', 'oc_');