mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02: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
|
@ -30,4 +30,13 @@ use Doctrine\ORM\Mapping as ORM;
|
|||
class ElementEditedLogEntry extends AbstractLogEntry
|
||||
{
|
||||
protected $typeString = "element_edited";
|
||||
|
||||
/**
|
||||
* Returns the message associated with this edit change
|
||||
* @return string
|
||||
*/
|
||||
public function getMessage() : string
|
||||
{
|
||||
return $this->extra['m'] ?? '';
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue