Remove dumpRawSql() function in AlertUtil.php (#15803)

It caused fail to execute alert/transports/{transport}/test
This commit is contained in:
Personwho
2024-02-05 14:13:27 +01:00
committed by GitHub
parent 6057053963
commit df54ff072c
+1 -1
View File
@@ -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