mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
const ID usage
This commit is contained in:
@@ -64,7 +64,7 @@ class AddSystemUser implements RebuildAction
|
||||
->getQueryBuilder()
|
||||
->delete()
|
||||
->from(User::ENTITY_TYPE)
|
||||
->where(['id' => $user->getId()])
|
||||
->where([Attribute::ID => $user->getId()])
|
||||
->build()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user