Changeset 2303 for branches

Show
Ignore:
Timestamp:
12/17/10 08:48:36 (17 months ago)
Author:
nick_ramsay
Message:

[1.5] Removed installation of friends table.

Location:
branches/1.5/install
Files:
2 modified

Legend:

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

    r2295 r2303  
    499499        } else { 
    500500 
    501                 $tables = array('blocked', 'categories', 'comments', 'friends', 'messaging', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'postmeta', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'useractivity', 'widgets'); 
     501                $tables = array('blocked', 'categories', 'comments', 'messaging', 'miscdata', 'plugins', 'pluginhooks', 'pluginsettings', 'posts', 'postmeta', 'postvotes', 'settings', 'tags', 'tempdata', 'tokens', 'users', 'usermeta', 'useractivity', 'widgets'); 
    502502 
    503503                // delete *all* tables in db: 
  • branches/1.5/install/install_tables.php

    r2267 r2303  
    112112                $db->query($sql);  
    113113        } 
    114          
    115          
    116         // FRIENDS TABLE 
    117          
    118                 if ($table_name == "friends") { 
    119                 //echo "table doesn't exist. Stopping before creation."; exit; 
    120                 $sql = "CREATE TABLE `" . DB_PREFIX . $table_name . "` ( 
    121                         `follower_user_id` int(20) NOT NULL default '0', 
    122                         `following_user_id` int(20) NOT NULL default '0', 
    123                         `friends_updatedts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,  
    124                         PRIMARY KEY (follower_user_id, following_user_id) 
    125                 ) ENGINE=" . DB_ENGINE . " DEFAULT CHARSET=" . DB_CHARSET . " COLLATE=" . DB_COLLATE . " COMMENT='Friends';"; 
    126                 echo $lang['install_step2_creating_table'] . ": '" . DB_PREFIX . $table_name . "'...<br />\n"; 
    127                 $db->query($sql); 
    128                 } 
    129114                 
    130115