diff --git a/library/Icingadb/Model/Usergroup.php b/library/Icingadb/Model/Usergroup.php index cabf236a..2d0a28a0 100644 --- a/library/Icingadb/Model/Usergroup.php +++ b/library/Icingadb/Model/Usergroup.php @@ -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'); } }