You are here

public static function SemaphoreStorage::flushValue in Lightweight Directory Access Protocol (LDAP) 8.3

Flush saved data for account.

Parameters

string $action: Action to apply on (e.g. 'sync').

string $identifier: User identifier.

1 call to SemaphoreStorage::flushValue()
SemaphoreStorageTests::testPasswordStorage in ldap_user/tests/src/Unit/SemaphoreStorageTests.php
Tests the password storage.

File

ldap_user/src/Helper/SemaphoreStorage.php, line 55

Class

SemaphoreStorage
Management of the semaphore.

Namespace

Drupal\ldap_user\Helper

Code

public static function flushValue($action, $identifier) {
  unset(self::$accounts[$action][$identifier]);
}