Fix schema validation and os def cache invalidation (#9789)

This commit is contained in:
Tony Murray
2019-02-06 10:53:25 -06:00
committed by GitHub
parent 86b820a11a
commit 61a48fbdd2
3 changed files with 8 additions and 17 deletions

View File

@@ -2521,18 +2521,6 @@ function get_db_schema()
return 0;
}
/**
* Check if the database schema is up to date.
*
* @return bool
*/
function db_schema_is_current()
{
$current = get_db_schema();
return $current >= 1000;
}
/**
* @param $device
* @return int|null