Rework address roles, making Address::role optional, rework determining uplink/downlinks/parent/children
This commit is contained in:
@@ -27,6 +27,6 @@ class UserCodeSend extends Command
|
||||
$ao = Address::findFTN($this->argument('ftn'));
|
||||
$uo = User::where('email',$this->argument('email'))->singleOrFail();
|
||||
|
||||
Notification::route('netmail',$ao->parent())->notify(new AddressLink($uo));
|
||||
Notification::route('netmail',$ao->uplink())->notify(new AddressLink($uo));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user