Ignore:
Timestamp:
Dec 29, 2023, 11:44:26 PM (11 months ago)
Author:
chronos
Message:
  • Modified: Unit names without U prefix.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Modules/ZdechovNET/ModuleZdechovNET.pas

    r145 r146  
    1 unit UModuleZdechovNET;
     1unit ModuleZdechovNET;
    22
    33interface
    44
    55uses
    6   Classes, SysUtils, UModularSystem, UWebPage, URobotsPage,
    7   UWebSession, DateUtils, UModuleBase, UModuleUser, UIPTVPage,
    8   UInternetPage, UHostingPage, UHistoryPage, UDocumentsPage, UVoIPPage,
    9   ULinksPage, UPlansPage, UServerInfoPage, UWebCamPage, UUser,
    10   UNetworkPage, UAboutPage, UContactPage, UProjectsPage;
     6  Classes, SysUtils, UModularSystem, UWebPage, RobotsPage,
     7  WebSession, DateUtils, ModuleBase, ModuleUser, IPTVPage,
     8  InternetPage, HostingPage, HistoryPage, DocumentsPage, VoIPPage,
     9  LinksPage, PlansPage, ServerInfoPage, WebCamPage, User,
     10  NetworkPage, AboutPage, ContactPage, ProjectsPage;
    1111
    1212type
     
    4949
    5050uses
    51   UCore, USqlDatabase, UXmlClasses, UHtmlClasses, UUtils;
     51  Core, USqlDatabase, UXmlClasses, UHtmlClasses, Utils;
    5252
    5353{ TModuleZdechovNET }
     
    169169    DbRows := TDbRows.Create;
    170170
    171     Core.CommonDatabase.Query(DbRows,
     171    Core.Core.CommonDatabase.Query(DbRows,
    172172    'CREATE TABLE IF NOT EXISTS `VPSHosting` (' +
    173173    '  `Id` int(11) NOT NULL AUTO_INCREMENT,' +
     
    181181    ') ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;');
    182182
    183     Core.CommonDatabase.Query(DbRows,
     183    Core.Core.CommonDatabase.Query(DbRows,
    184184    'CREATE TABLE IF NOT EXISTS `History` (' +
    185185    '  `Id` int(11) NOT NULL AUTO_INCREMENT,' +
     
    189189    ') ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ;');
    190190
    191     Core.CommonDatabase.Query(DbRows,
     191    Core.Core.CommonDatabase.Query(DbRows,
    192192    'CREATE TABLE IF NOT EXISTS `Webcam` (' +
    193193    '  `Id` int(11) NOT NULL AUTO_INCREMENT,' +
     
    204204    ') ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;');
    205205
    206     Core.CommonDatabase.Query(DbRows,
     206    Core.Core.CommonDatabase.Query(DbRows,
    207207    '  CREATE TABLE IF NOT EXISTS `Plans` (' +
    208208    '  `Id` int(11) NOT NULL AUTO_INCREMENT,' +
     
    217217    ') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_czech_ci AUTO_INCREMENT=1 ;');
    218218
    219     Core.CommonDatabase.Query(DbRows,
     219    Core.Core.CommonDatabase.Query(DbRows,
    220220    'CREATE TABLE IF NOT EXISTS `HostedProject` (' +
    221221    '  `Id` int(11) NOT NULL AUTO_INCREMENT,' +
     
    245245  try
    246246    DbRows := TDbRows.Create;
    247     Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `HostedProject`');
    248     Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Plans`');
    249     Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Webcam`');
    250     Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `VPSHosting`');
    251     Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `History`');
     247    Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `HostedProject`');
     248    Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Plans`');
     249    Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `Webcam`');
     250    Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `VPSHosting`');
     251    Core.Core.CommonDatabase.Query(DbRows, 'DROP TABLE IF EXISTS `History`');
    252252  finally
    253253    DbRows.Free;
Note: See TracChangeset for help on using the changeset viewer.