mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-10 18:34:32 +02:00
Improved naming and documentation of CLIUser functions on AbstractLogEntry
This commit is contained in:
parent
c060d6ebb1
commit
d258235430
5 changed files with 28 additions and 13 deletions
|
@ -73,7 +73,7 @@ class EventLogger
|
|||
|
||||
//Set the console user info, if the log entry was created in a console command
|
||||
if ($this->console_info_helper->isCLI()) {
|
||||
$logEntry->setCLIUser($this->console_info_helper->getCLIUser() ?? 'Unknown');
|
||||
$logEntry->setCLIUsername($this->console_info_helper->getCLIUser() ?? 'Unknown');
|
||||
}
|
||||
|
||||
if ($this->shouldBeAdded($logEntry)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue