public static function ReadinessCheckerManager::timestamp in Automatic Updates 7
3 calls to ReadinessCheckerManager::timestamp()
- automatic_updates_admin_form in ./
automatic_updates.admin.inc - Form callback for administrator interface.
- automatic_updates_init in ./
automatic_updates.module - Implements hook_init().
- _automatic_updates_checker_requirements in ./
automatic_updates.install - Display requirements from results of readiness checker.
File
- ReadinessCheckers/
ReadinessCheckerManager.php, line 86
Class
- ReadinessCheckerManager
- Defines a chained readiness checker implementation combining multiple checks.
Code
public static function timestamp() {
$last_check_timestamp = variable_get('automatic_updates.readiness_check_timestamp');
if (!is_numeric($last_check_timestamp)) {
$last_check_timestamp = variable_get('install_time', 0);
}
return $last_check_timestamp;
}