function password_policy_cron in Password Policy 7.2
Same name and namespace in other branches
- 8.3 password_policy.module \password_policy_cron()
- 5 password_policy.module \password_policy_cron()
- 6 password_policy.module \password_policy_cron()
- 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();
}
}