mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-27 22:46:04 +00:00
cs fix
This commit is contained in:
@@ -61,8 +61,9 @@ class ApplicationUser
|
||||
public function setupSystemUser()
|
||||
{
|
||||
$user = $this->entityManagerProxy->getEntity('User', 'system');
|
||||
|
||||
if (!$user) {
|
||||
throw new Error("System user is not found");
|
||||
throw new Error("System user is not found.");
|
||||
}
|
||||
|
||||
$user->set('ipAddress', $_SERVER['REMOTE_ADDR'] ?? null);
|
||||
|
||||
Reference in New Issue
Block a user