mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-25 19:28:51 +02:00
Fixed some more inspection issues
This commit is contained in:
parent
de96aae9a5
commit
29d1d49aca
83 changed files with 153 additions and 172 deletions
|
@ -36,11 +36,7 @@ class PermissionSchemaUpdater
|
|||
{
|
||||
$perm_data = $holder->getPermissions();
|
||||
|
||||
if ($perm_data->getSchemaVersion() < PermissionData::CURRENT_SCHEMA_VERSION) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return $perm_data->getSchemaVersion() < PermissionData::CURRENT_SCHEMA_VERSION;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue