mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
User: Use notification_recipients as junction for notifications
This commit is contained in:
parent
e7f5ac454f
commit
2ccd956366
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class User extends Model
|
|||
$relations->belongsToMany('customvar_flat', CustomvarFlat::class)
|
||||
->through(UserCustomvar::class);
|
||||
$relations->belongsToMany('notification', Notification::class)
|
||||
->through(NotificationUser::class);
|
||||
->through('notification_recipient');
|
||||
$relations->belongsToMany('usergroup', Usergroup::class)
|
||||
->through(UsergroupMember::class);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue