Browse Source

Implement PR review feedback

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
tags/v23.0.0beta1
Lukas Reschke 2 years ago
parent
commit
471167019c

+ 0
- 3
core/Migrations/Version23000Date20210906132259.php View File

@@ -10,9 +10,6 @@ use OCP\DB\Types;
use OCP\Migration\IOutput;
use OCP\Migration\SimpleMigrationStep;

/**
* Auto-generated migration step: Please modify to your needs!
*/
class Version23000Date20210906132259 extends SimpleMigrationStep {
private const TABLE_NAME = 'ratelimit_entries';


+ 0
- 5
lib/private/Security/RateLimiting/Backend/DatabaseBackend.php View File

@@ -29,11 +29,6 @@ use OCP\AppFramework\Utility\ITimeFactory;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IDBConnection;

/**
* Class DatabaseBackend uses the database for storing rate limiting data.
*
* @package OC\Security\RateLimiting\Backend
*/
class DatabaseBackend implements IBackend {
private const TABLE_NAME = 'ratelimit_entries';


+ 1
- 1
lib/private/Security/RateLimiting/Backend/IBackend.php View File

@@ -35,7 +35,7 @@ namespace OC\Security\RateLimiting\Backend;
*/
interface IBackend {
/**
* Gets the amount of attempts for the specified method
* Gets the number of attempts for the specified method
*
* @param string $methodIdentifier Identifier for the method
* @param string $userIdentifier Identifier for the user

Loading…
Cancel
Save