Changeset 106


Ignore:
Timestamp:
Oct 9, 2012, 2:05:24 PM (12 years ago)
Author:
chronos
Message:
 
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UWebSession.pas

    r105 r106  
    180180    DbRows.Free;
    181181  end;
     182
     183  // Set all modules to already installed state
     184  for I := 0 to ModuleManager.Modules.Count - 1 do
     185    TModule(ModuleManager.Modules[I]).SetInstalledState(True);
    182186end;
    183187
  • trunk/Modules/ZdechovNET/UModuleZdechovNET.pas

    r105 r106  
    7373procedure TModuleZdechovNET.Start;
    7474begin
     75  BeforeStart;
    7576  ModuleBase := TModuleBase(Manager.FindModuleByName('Base'));
    7677  ModuleUser := TModuleUser(Manager.FindModuleByName('User'));
     
    104105    RegisterPage(AboutPage, '');
    105106  end;
    106   inherited;
     107  AfterStart;
    107108end;
    108109
    109110procedure TModuleZdechovNET.Stop;
    110111begin
    111   inherited Stop;
     112  BeforeStop;
    112113  with ModuleBase, Pages do begin
    113114    UnregisterPage(AboutPage);
     
    140141  ModuleBase := nil;
    141142  ModuleUser := nil;
     143  AfterStop;
    142144end;
    143145
Note: See TracChangeset for help on using the changeset viewer.