[Eventlog] Show extra data in log table.

This commit is contained in:
Jan Böhmer 2020-01-25 22:52:34 +01:00
parent f7d0524f57
commit 8b1eccc48d
12 changed files with 351 additions and 2 deletions

View file

@ -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'] ?? '';
}
}