diff options
-rw-r--r-- | core/Migrations/Version23000Date20210906132259.php | 3 | ||||
-rw-r--r-- | lib/private/Security/RateLimiting/Limiter.php | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/core/Migrations/Version23000Date20210906132259.php b/core/Migrations/Version23000Date20210906132259.php index c4e0c42075c..37935201918 100644 --- a/core/Migrations/Version23000Date20210906132259.php +++ b/core/Migrations/Version23000Date20210906132259.php @@ -28,8 +28,7 @@ class Version23000Date20210906132259 extends SimpleMigrationStep { $hasTable = $schema->hasTable(self::TABLE_NAME); - if(!$hasTable) - { + if (!$hasTable) { $table = $schema->createTable(self::TABLE_NAME); $table->addColumn('hash', Types::STRING, [ 'notnull' => true, diff --git a/lib/private/Security/RateLimiting/Limiter.php b/lib/private/Security/RateLimiting/Limiter.php index 1c14fce2a55..91657452d99 100644 --- a/lib/private/Security/RateLimiting/Limiter.php +++ b/lib/private/Security/RateLimiting/Limiter.php @@ -29,7 +29,6 @@ namespace OC\Security\RateLimiting; use OC\Security\Normalizer\IpAddress; use OC\Security\RateLimiting\Backend\IBackend; use OC\Security\RateLimiting\Exception\RateLimitExceededException; -use OCP\AppFramework\Utility\ITimeFactory; use OCP\IUser; class Limiter { |