mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-02 07:29:34 +00:00
Use imports instead of FQNs
This commit is contained in:
parent
f63b6d7207
commit
5629215ce4
179 changed files with 792 additions and 597 deletions
|
|
@ -102,7 +102,7 @@ class PermissionSchemaUpdater
|
|||
public function userUpgradeSchemaRecursively(User $user, int $target_version = PermissionData::CURRENT_SCHEMA_VERSION): bool
|
||||
{
|
||||
$updated = $this->upgradeSchema($user, $target_version);
|
||||
if ($user->getGroup() instanceof \App\Entity\UserSystem\Group) {
|
||||
if ($user->getGroup() instanceof Group) {
|
||||
$updated = $this->groupUpgradeSchemaRecursively($user->getGroup(), $target_version) || $updated;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue