Changeset 2267 for branches

Show
Ignore:
Timestamp:
11/29/10 10:43:05 (18 months ago)
Author:
nick_ramsay
Message:

[1.5] Removed commentvotes table.

Location:
branches/1.5
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/1.5/install/index.php

    r2243 r2267  
    504504        else {      
    505505             
    506             $tables = array('blocked', 'categories', 'comments', 'commentvotes', 'friends', 'messaging', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'postmeta', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'useractivity', 'widgets'); 
     506            $tables = array('blocked', 'categories', 'comments', 'friends', 'messaging', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'postmeta', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'useractivity', 'widgets'); 
    507507 
    508508            // delete *all* tables in db: 
  • branches/1.5/install/install_tables.php

    r2243 r2267  
    114114         
    115115         
    116         // COMMENT VOTES TABLE - comment votes 
    117          
    118         if ($table_name == "commentvotes") { 
    119                 //echo "table doesn't exist. Stopping before creation."; exit; 
    120                 $sql = "CREATE TABLE `" . DB_PREFIX . $table_name . "` ( 
    121                         `cvote_archived` enum('Y','N') NOT NULL DEFAULT 'N', 
    122                         `cvote_updatedts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,  
    123                         `cvote_post_id` int(11) NOT NULL DEFAULT '0', 
    124                         `cvote_comment_id` int(11) NOT NULL DEFAULT '0', 
    125                         `cvote_user_id` int(11) NOT NULL DEFAULT '0', 
    126                         `cvote_user_ip` varchar(32) NOT NULL DEFAULT '0', 
    127                         `cvote_date` timestamp NULL, 
    128                         `cvote_rating` smallint(11) NOT NULL DEFAULT '0', 
    129                         `cvote_reason` tinyint(3) NOT NULL DEFAULT 0, 
    130                         `cvote_updateby` int(20) NOT NULL DEFAULT 0 
    131                 ) ENGINE=" . DB_ENGINE . " DEFAULT CHARSET=" . DB_CHARSET . " COLLATE=" . DB_COLLATE . " COMMENT='Comment Votes';"; 
    132                 echo $lang['install_step2_creating_table'] . ": '" . DB_PREFIX . $table_name . "'...<br />\n"; 
    133                 $db->query($sql);  
    134         } 
    135          
    136          
    137116        // FRIENDS TABLE 
    138117         
  • branches/1.5/libs/AdminPages.php

    r2254 r2267  
    345345                                DB_PREFIX . 'categories', 
    346346                                DB_PREFIX . 'comments', 
    347                                 DB_PREFIX . 'commentvotes', 
    348347                                DB_PREFIX . 'miscdata', 
    349348                                DB_PREFIX . 'postmeta', 
    350349                                DB_PREFIX . 'posts', 
    351350                                DB_PREFIX . 'postvotes', 
    352                                 DB_PREFIX . 'site', 
    353351                                DB_PREFIX . 'tags', 
    354352                                DB_PREFIX . 'useractivity',