Skip to content

Commit dc42339

Browse files
Remove unnecessary HasAddress Behavior and its usage
1 parent 90b7cbf commit dc42339

File tree

2 files changed

+0
-95
lines changed

2 files changed

+0
-95
lines changed

library/Notifications/Model/Behavior/HasAddress.php

Lines changed: 0 additions & 93 deletions
This file was deleted.

library/Notifications/Model/Contact.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use DateTime;
88
use ipl\Orm\Behavior\BoolCast;
9-
use Icinga\Module\Notifications\Model\Behavior\HasAddress;
109
use ipl\Orm\Behavior\MillisecondTimestamp;
1110
use ipl\Orm\Behaviors;
1211
use ipl\Orm\Model;
@@ -70,7 +69,6 @@ public function getSearchColumns(): array
7069

7170
public function createBehaviors(Behaviors $behaviors): void
7271
{
73-
$behaviors->add(new HasAddress());
7472
$behaviors->add(new MillisecondTimestamp(['changed_at']));
7573
$behaviors->add(new BoolCast(['deleted']));
7674
}

0 commit comments

Comments
 (0)