mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 01:49:05 +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
|
@ -226,7 +226,7 @@ class LogDataTable implements DataTableTypeInterface
|
|||
|
||||
//If user was deleted, show the info from the username field
|
||||
if ($user === null) {
|
||||
if ($context->isCLIUser()) {
|
||||
if ($context->isCLIEntry()) {
|
||||
return sprintf('%s [%s]',
|
||||
htmlentities($context->getCLIUsername()),
|
||||
$this->translator->trans('log.cli_user')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue