mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix schema validation and os def cache invalidation (#9789)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user