Changeset 108 for trunk/Modules/User


Ignore:
Timestamp:
Oct 10, 2012, 3:30:34 PM (12 years ago)
Author:
chronos
Message:
  • Upraveno: Opět zprovozněno zobrazování oficiálního webu sítě.
Location:
trunk/Modules/User
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/UModuleUser.pas

    r107 r108  
    6262  User := TWebUser.Create;
    6363  User.Database := ModuleBase.Session.Database;
     64  User.HandlerData := ModuleBase.Session;
    6465  UserOnline := TWebOnlineUser.Create;
    6566  UserOnline.Database := ModuleBase.Session.Database;
     67  UserOnline.HandlerData := ModuleBase.Session;
    6668  AfterStart;
    6769end;
  • trunk/Modules/User/UUser.pas

    r103 r108  
    4646    procedure Login(User: Integer);
    4747    procedure Logout;
     48    constructor Create;
    4849  end;
    4950
     
    123124end;
    124125
     126constructor TWebOnlineUser.Create;
     127begin
     128  User := UnknownUser;
     129end;
     130
    125131{ TUser }
    126132
     
    218224  DbRows: TDbRows;
    219225begin
     226  if Id <> -1 then
    220227  try
    221228    DbRows := TDbRows.Create;
Note: See TracChangeset for help on using the changeset viewer.