Update ZooModule
This commit is contained in:
parent
b94f63db56
commit
14febde12b
3 changed files with 83 additions and 13 deletions
|
@ -68,7 +68,7 @@ public partial class HeliconZoo_Settings : WebsitePanelControlBase, IHostingServ
|
|||
|
||||
private void BindHostingPackages()
|
||||
{
|
||||
// TODO: try...catch?
|
||||
|
||||
WPIProduct[] products = null;
|
||||
try
|
||||
{
|
||||
|
@ -92,6 +92,12 @@ public partial class HeliconZoo_Settings : WebsitePanelControlBase, IHostingServ
|
|||
|
||||
private void BindEngines()
|
||||
{
|
||||
WPIProduct zooModule = ES.Services.Servers.GetWPIProductById(PanelRequest.ServerId, "HeliconZooModule");
|
||||
if (!zooModule.IsInstalled || zooModule.IsUpgrade)
|
||||
{
|
||||
HostModule.ShowWarningMessage("Zoo Module is not installed or out-of-date. To proceed press 'Add' or 'Update' next to Helicon Zoo Module below, then press 'Install'.");
|
||||
}
|
||||
|
||||
// get all engines from IIS
|
||||
HeliconZooEngine[] engineList = ES.Services.HeliconZoo.GetEngines(PanelRequest.ServiceId);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue