You are here

public function PasswordPolicy::init in Password Policy 7.2

Runs init for each of the items that is a cron item.

Parameters

object $account: User object.

File

includes/PasswordPolicy.inc, line 183
Contains PasswordPolicy.

Class

PasswordPolicy
Defines a class used for managing Password Policies.

Code

public function init($account) {
  foreach ($this
    ->getItems('init') as $item) {
    $item
      ->init($account);
  }
}