Updated MailEnable version check to work with all versions
This commit is contained in:
parent
0081c04ca7
commit
fa2dca8ea3
1 changed files with 3 additions and 2 deletions
|
@ -2034,8 +2034,9 @@ Public Class MailEnable
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If [String].IsNullOrEmpty(version) = False Then
|
If [String].IsNullOrEmpty(version) = False Then
|
||||||
Dim split As String() = version.Split(New [Char]() {"."c})
|
'all versions of MailEnable will be compatible with this, so we are just checking to see if there is a version number
|
||||||
Return split(0).Equals("1") Or split(0).Equals("2") Or split(0).Equals("3") Or split(0).Equals("4") Or split(0).Equals("5") Or split(0).Equals("6") Or split(0).Equals("7")
|
'future versions aim to retain compatibility
|
||||||
|
Return True
|
||||||
Else
|
Else
|
||||||
Return False
|
Return False
|
||||||
End If
|
End If
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue