File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ protected function notify_using_webpush(): void
188188
189189 // Load all the users we need
190190 $ notify_users = array_diff ($ user_ids , $ banned_users );
191- $ this ->user_loader ->load_users ($ notify_users , array ( USER_IGNORE ) );
191+ $ this ->user_loader ->load_users ($ notify_users , [ USER_IGNORE ] );
192192
193193 // Get subscriptions for users
194194 $ user_subscription_map = $ this ->get_user_subscription_map ($ notify_users );
Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ private function get_notification_data(string $notification_data): string
229229 $ notification = $ this ->notification_manager ->get_item_type_class ($ row_data ['notification_type_name ' ], $ row_data );
230230
231231 // Load users for notification
232- $ this ->user_loader ->load_users ($ notification ->users_to_query ());
232+ $ this ->user_loader ->load_users ($ notification ->users_to_query (), [ USER_IGNORE ] );
233233
234234 return json_encode ([
235235 'heading ' => $ this ->config ['sitename ' ],
You can’t perform that action at this time.
0 commit comments