Changeset 2308 for branches

Show
Ignore:
Timestamp:
12/18/10 09:51:18 (17 months ago)
Author:
nick_ramsay
Message:

[1.5] Removed "postmeta" table creation from core.

Location:
branches/1.5
Files:
3 modified

Legend:

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

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

    r2305 r2308  
    246246         
    247247         
    248         // POSTMETA TABLE - extra information for posts 
    249          
    250         if ($table_name == "postmeta") { 
    251                 //echo "table doesn't exist. Stopping before creation."; exit; 
    252                 $sql = "CREATE TABLE `" . DB_PREFIX . $table_name . "` ( 
    253                         `postmeta_id` int(20) NOT NULL AUTO_INCREMENT PRIMARY KEY, 
    254                         `postmeta_archived` enum('Y','N') NOT NULL DEFAULT 'N', 
    255                         `postmeta_updatedts` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,  
    256                         `postmeta_postid` int(20) NOT NULL DEFAULT 0, 
    257                         `postmeta_key` varchar(255) NULL, 
    258                         `postmeta_value` text NULL, 
    259                         `postmeta_updateby` int(20) NOT NULL DEFAULT 0,  
    260                         INDEX  (`postmeta_postid`) 
    261                 ) ENGINE=" . DB_ENGINE . " DEFAULT CHARSET=" . DB_CHARSET . " COLLATE=" . DB_COLLATE . " COMMENT='Post Meta';"; 
    262                 echo $lang['install_step2_creating_table'] . ": '" . DB_PREFIX . $table_name . "'...<br />\n"; 
    263                 $db->query($sql);  
    264         } 
    265          
    266          
    267248        // POSTVOTES TABLE - votes 
    268249         
  • branches/1.5/libs/AdminPages.php

    r2306 r2308  
    380380                                DB_PREFIX . 'comments', 
    381381                                DB_PREFIX . 'miscdata', 
    382                                 DB_PREFIX . 'postmeta', 
    383382                                DB_PREFIX . 'posts', 
    384383                                DB_PREFIX . 'postvotes',