mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-11 01:39:50 +01:00
Allow to undo a change from event log.
This commit is contained in:
@@ -368,6 +368,17 @@ abstract class AbstractLogEntry extends AbstractDBElement
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the target ID of the element associated with this element.
|
||||
* @param int $target_id
|
||||
* @return $this
|
||||
*/
|
||||
public function setTargetElementID(int $target_id): self
|
||||
{
|
||||
$this->target_id = $target_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getExtraData(): array
|
||||
{
|
||||
return $this->extra;
|
||||
|
||||
Reference in New Issue
Block a user