mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
CompatObject: Drop property $defaultLegacyColumns
This commit is contained in:
parent
522e6f35db
commit
ab53b45bcd
1 changed files with 0 additions and 6 deletions
|
|
@ -20,18 +20,12 @@ trait CompatObject
|
|||
{
|
||||
use Auth;
|
||||
|
||||
private $defaultLegacyColumns = [
|
||||
'flap_detection_enabled' => 'flapping_enabled'
|
||||
];
|
||||
|
||||
/** @var Model $object */
|
||||
private $object;
|
||||
|
||||
public function __construct(Model $object)
|
||||
{
|
||||
$this->object = $object;
|
||||
|
||||
$this->legacyColumns = $this->legacyColumns + $this->defaultLegacyColumns;
|
||||
}
|
||||
|
||||
public static function fromModel(Model $object)
|
||||
|
|
|
|||
Loading…
Reference in a new issue