You are here

function password_policy_cron in Password Policy 7.2

Same name and namespace in other branches
  1. 8.3 password_policy.module \password_policy_cron()
  2. 5 password_policy.module \password_policy_cron()
  3. 6 password_policy.module \password_policy_cron()
  4. 7 password_policy.module \password_policy_cron()

Implements hook_cron().

File

./password_policy.module, line 201
Enforces password policies.

Code

function password_policy_cron() {
  $policies = PasswordPolicy::enabledPolicies();
  foreach ($policies as $policy) {
    $policy
      ->cron();
  }
}