Changeset 5804

Show
Ignore:
Timestamp:
06/13/08 12:42:31 (3 months ago)
Author:
uta
Message:

Tag bbs-0.3.10

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • components/bbs/tags/REL-0.3.10/bbs/_install/component_info.rb

    r5792 r5804  
    2222    @functions      = [] 
    2323    @menus          = [ 
    24       :permit_individual_menu, 
    2524      { 
    2625        :extend_page => 'main', 
     
    2928        :function => 'access', 
    3029        :description => '[_Bbs_Menu_DescAdmin]' 
    31       }, 
    32       { 
    33         :extend_page => 'main', 
    34         :title => '[_Bbs_Title_AdminGroup]', 
    35         :controller => '/bbs/admin_group', 
    36         :function => 'admin', 
    37         :description => '[_Bbs_Menu_DescAdminGroup]' 
    38       }, 
    39       { 
    40         :extend_page    => 'admin', 
    41         :title          => '[_Bbs_BbsConfig]', 
    42         :controller     => '/bbs/admin', 
    43         :function       => 'admin', 
    44         :description    => '' 
    4530      }, 
    4631      { 
  • components/bbs/tags/REL-0.3.10/bbs/_install/db/003_bbs_schema_003.rb

    r5793 r5804  
    3030      t.column :latest_block_size,                      :integer,                   :default => 0,      :null => false 
    3131    end 
    32    
     32 
    3333    drop_table :bbs_block_lists 
    34      
    3534    drop_table :bbs_personalizes 
    36      
     35 
    3736    Bbs::BbsConfig.create  :latest_block_size => 10 
    3837  end 
  • components/bbs/tags/REL-0.3.10/bbs/_install/db/004_bbs_schema_004.rb

    r5793 r5804  
    1717      t.column :rubricks_group_id,                  :integer,                                       :null => false 
    1818    end 
    19      
     19 
    2020    add_index(:bbs_grade_to_sysgroups, [:bbs_parent_grade_id,:bbs_parent_grade_type,:authorized_type,:rubricks_group_id],     {:name => 'bbs_grade_to_sysgroups_authorized_user', :unique => true}) 
    2121    add_index(:bbs_grade_to_groups,    [:bbs_parent_grade_id,:bbs_parent_grade_type,:authorized_type,:rubricks_group_id],     {:name => 'bbs_grade_to_groups_authorized_user', :unique => true}) 
  • components/bbs/tags/REL-0.3.10/bbs/_install/installation_script.rb

    r5792 r5804  
    44 
    55  def after_install 
    6     item = RubricksMenuItem.find(:first, :conditions => ["controller = ?", "/bbs/admin_group"]) 
    7     item.destroy if item 
    86  end 
    97 
     
    1816 
    1917  def after_update 
    20     item = RubricksMenuItem.find(:first, :conditions => ["controller = ?", "/bbs/admin_group"]) 
    21     item.destroy if item 
    22      
    23     item = RubricksMenuItem.find(:first, :conditions => ["controller = ?", "/bbs/admin"]) 
    24     item.destroy if item 
    2518  end 
    2619end