moar checks
This commit is contained in:
parent
5d55aad04b
commit
632472e397
@ -136,15 +136,15 @@ Public Class EmailService
|
||||
|
||||
Private Sub EmailQueue_DoWork(sender As Object, e As DoWorkEventArgs)
|
||||
Try
|
||||
If _Firebird._DBInitialized Then
|
||||
If _Firebird?._DBInitialized Then
|
||||
SendEmailFrom(DatabaseType.Firebird, Nothing)
|
||||
End If
|
||||
|
||||
If _MSSQL.DBInitialized Then
|
||||
If _MSSQL?.DBInitialized Then
|
||||
SendEmailFrom(DatabaseType.MSSQL, _MSSQL)
|
||||
End If
|
||||
|
||||
If _MSSQL_Test.DBInitialized Then
|
||||
If _MSSQL_Test?.DBInitialized Then
|
||||
SendEmailFrom(DatabaseType.MSSQL, _MSSQL_Test)
|
||||
End If
|
||||
Catch ex As Exception
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user