public checkForUpdates ( boolean $force = false ) | ||
$force | boolean | Force start the update check? |
public function checkForUpdates(bool $force = false)
{
$update = $force || $this->needsUpdate();
if ($update) {
// Load all the suppliers
$this->getSupplier();
// Actually perform the update check
$this->doUpdateCheck();
}
}