Skip to content

Commit

Permalink
Remove unnecessary HasAddress Behavior and its usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Jan 30, 2025
1 parent 2402c2e commit cdf1bf0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 95 deletions.
93 changes: 0 additions & 93 deletions library/Notifications/Model/Behavior/HasAddress.php

This file was deleted.

2 changes: 0 additions & 2 deletions library/Notifications/Model/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use DateTime;
use ipl\Orm\Behavior\BoolCast;
use Icinga\Module\Notifications\Model\Behavior\HasAddress;
use ipl\Orm\Behavior\MillisecondTimestamp;
use ipl\Orm\Behaviors;
use ipl\Orm\Model;
Expand Down Expand Up @@ -70,7 +69,6 @@ public function getSearchColumns(): array

public function createBehaviors(Behaviors $behaviors): void
{
$behaviors->add(new HasAddress());
$behaviors->add(new MillisecondTimestamp(['changed_at']));
$behaviors->add(new BoolCast(['deleted']));
}
Expand Down

0 comments on commit cdf1bf0

Please sign in to comment.