Make WordPress Core


Ignore:
Timestamp:
02/13/2004 09:59:47 AM (22 years ago)
Author:
saxmatt
Message:

Abstraction of a admin functions, new custom options page for general options, improved style.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade-functions.php

    r863 r869  
    674674
    675675function upgrade_110() {
    676     global $wpdb, $tableusers, $tablecomments, $tableposts;
     676    global $wpdb, $tableusers, $tablecomments, $tableposts, $tableoptiongroups;
    677677   
    678678    maybe_add_column($tablecomments, 'user_id', "ALTER TABLE `$tablecomments` ADD `user_id` INT DEFAULT '0' NOT NULL ;");
     
    705705        }
    706706    }
     707   
     708    $wpdb->query("DELETE FROM $tableoptiongroups WHERE group_id = 6");
    707709}
    708710
Note: See TracChangeset for help on using the changeset viewer.