mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-14 11:19:07 +01:00
Use a enum for level in LogEntries
This commit is contained in:
@@ -38,7 +38,7 @@ class ElementEditedLogEntry extends AbstractLogEntry implements TimeTravelInterf
|
||||
public function __construct(AbstractDBElement $changed_element)
|
||||
{
|
||||
parent::__construct();
|
||||
$this->level = self::LEVEL_INFO;
|
||||
$this->level = LogLevel::INFO;
|
||||
|
||||
$this->setTargetElement($changed_element);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user