Update GDPicture Variablenname LicenseString
This commit is contained in:
@@ -77,17 +77,20 @@ Public Class clsWorkEmail
|
||||
_windream_index = New clsWindream_Index(LogConf)
|
||||
_windreamConnectionString = WmConStr
|
||||
End If
|
||||
If pConfigData.GDPictureLicenseString = String.Empty Then
|
||||
If pConfigData.GDPictureLicenseAsString = String.Empty Then
|
||||
_Logger.Debug("clsWorkEmail - GDPicture local is empty ..switching to db-getting ...")
|
||||
GDPictureLicense = ConfigDbFunct.GetProductLicense("GDPICTURE", pConfigData.GDPictureVersion, _LogConfig, ConStr)
|
||||
Else
|
||||
_Logger.Debug("clsWorkEmail - GDPicture License from local config!")
|
||||
_Logger.Debug("")
|
||||
_Logger.Debug(String.Format("clsWorkEmail - GDPicture License from local config [{0}]", pConfigData.GDPictureLicenseAsString))
|
||||
_Logger.Debug("")
|
||||
GDPictureLicense = pConfigData.GDPictureLicenseAsString
|
||||
End If
|
||||
|
||||
If String.IsNullOrEmpty(GDPictureLicense) = False Then
|
||||
_LicenseManager.RegisterKEY(GDPictureLicense)
|
||||
Else
|
||||
_Logger.Error("clsWorkEmail() No value for GDPictureLicense found!")
|
||||
_Logger.Error("clsWorkEmail() - No value for GDPictureLicense found")
|
||||
End If
|
||||
|
||||
_EmailAccountID = pConfigData.EmailAccountId
|
||||
|
||||
Reference in New Issue
Block a user