Usergroup: Use notification_recipients as junction for notifications

This commit is contained in:
Johannes Meyer 2019-12-04 16:23:10 +01:00
parent 2ccd956366
commit f879523965

View file

@ -59,6 +59,6 @@ class Usergroup extends Model
$relations->belongsToMany('user', User::class)
->through(UsergroupMember::class);
$relations->belongsToMany('notification', Notification::class)
->through(NotificationUsergroup::class);
->through('notification_recipient');
}
}