mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 10:49:00 +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
|
@ -150,7 +150,7 @@ class ShowEventLogCommand extends Command
|
|||
if ($entry->getUser()) {
|
||||
$user = $entry->getUser()->getFullName(true);
|
||||
} else {
|
||||
if ($entry->isCLIUser()) {
|
||||
if ($entry->isCLIEntry()) {
|
||||
$user = $entry->getCLIUsername() . ' [CLI]';
|
||||
} else {
|
||||
$user = $entry->getUsername() . ' [deleted]';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue