mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-07 03:29:30 +00:00
[Eventlog] Show extra data in log table.
This commit is contained in:
parent
f7d0524f57
commit
8b1eccc48d
12 changed files with 351 additions and 2 deletions
|
|
@ -31,11 +31,16 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
*/
|
||||
class UserNotAllowedLogEntry extends AbstractLogEntry
|
||||
{
|
||||
protected $type = 'user_not_allowed';
|
||||
protected $typeString = 'user_not_allowed';
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
//Obsolete, use server log now.
|
||||
throw new LogEntryObsoleteException();
|
||||
}
|
||||
|
||||
public function getMessage(): string
|
||||
{
|
||||
return $this->extra['p'] ?? '';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue