update_hashes
class update_hashes extends base
Update old hashes to the current default hashing algorithm
It is intended to gradually update all "old" style hashes to the current default hashing algorithm.
Properties
protected config | $config | ||
protected driver_interface | $db | ||
protected db | $update_lock | ||
protected manager | $passwords_manager | ||
protected string | $default_type |
Methods
Returns whether this cron task can run, given current board configuration.
Returns whether this cron task should run now, because enough time has passed since it was last run.
Constructor.
Runs this cron task.
Details
in
base at line 34
string
get_name()
Returns the name of the task.
in
base at line 44
set_name(string $name)
Sets the name of the task.
at line 70
bool
is_runnable()
Returns whether this cron task can run, given current board configuration.
For example, a cron task that prunes forums can only run when forum pruning is enabled.
at line 78
bool
should_run()
Returns whether this cron task should run now, because enough time has passed since it was last run.
at line 50
__construct(config $config, driver_interface $db, db $update_lock, manager $passwords_manager, array $hashing_algorithms, array $defaults)
Constructor.
at line 95
null
run()
Runs this cron task.