public function PasswordPolicy::cron in Password Policy 7.2
Runs cron for each of the items that is a cron item.
File
- includes/
PasswordPolicy.inc, line 169 - Contains PasswordPolicy.
Class
- PasswordPolicy
- Defines a class used for managing Password Policies.
Code
public function cron() {
foreach ($this
->getItems('cron') as $item) {
if ($item
->isActive()) {
$item
->cron();
}
}
}