HomeHelpTrac

Ignore:
Timestamp:
04/06/09 04:21:27 (3 years ago)
Author:
Andrey Prikaznov
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/boonex/news/install/sql/install.sql

    r9968 r9972  
    117117 
    118118 
    119 SET @iCategoryId = (SELECT MAX(`kateg`) FROM `GlParams`) + 1; 
     119SET @iCategoryId = (SELECT MAX(`kateg`) FROM `sys_options`) + 1; 
    120120SET @iCategoryOrder = (SELECT MAX(`menu_order`) FROM `sys_options_cats`) + 1; 
    121121INSERT INTO `sys_options_cats` (`ID`, `name` , `menu_order` ) VALUES (@iCategoryId, 'News', @iCategoryOrder); 
    122122 
    123 INSERT INTO `GlParams` (`Name`, `VALUE`, `kateg`, `desc`, `Type`, `check`, `err_text`, `order_in_kateg`) VALUES 
     123INSERT INTO `sys_options` (`Name`, `VALUE`, `kateg`, `desc`, `Type`, `check`, `err_text`, `order_in_kateg`) VALUES 
    124124('permalinks_module_news', 'on', 26, 'Enable friendly news permalink', 'checkbox', '', '', 0), 
    125125('news_comments', 'on', @iCategoryId, 'Allow comments for news', 'checkbox', '', '', 0), 
Note: See TracChangeset for help on using the changeset viewer.