mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Remove dumpRawSql() function in AlertUtil.php (#15803)
It caused fail to execute alert/transports/{transport}/test
This commit is contained in:
@@ -148,7 +148,7 @@ class AlertUtil
|
||||
|
||||
public static function findContactsRoles(array $roles): array
|
||||
{
|
||||
return User::whereIs(...$roles)->whereNot('email', '')->dumpRawSql()->pluck('realname', 'email')->toArray();
|
||||
return User::whereIs(...$roles)->whereNot('email', '')->pluck('realname', 'email')->toArray();
|
||||
}
|
||||
|
||||
public static function findContactsSysContact(array $results): array
|
||||
|
||||
Reference in New Issue
Block a user