Skip to content

Commit

Permalink
Remove update routine
Browse files Browse the repository at this point in the history
This is now done in #379.
  • Loading branch information
Luke Carbis committed Apr 16, 2014
1 parent ceb715c commit 76d5af3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions includes/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public static function install() {
site_id bigint(20) unsigned NOT NULL DEFAULT '1',
object_id bigint(20) unsigned NULL,
author bigint(20) unsigned NOT NULL DEFAULT '0',
author_role varchar(20) NOT NULL DEFAULT '',
summary longtext NOT NULL,
visibility varchar(20) NOT NULL DEFAULT 'publish',
parent bigint(20) unsigned NOT NULL DEFAULT '0',
Expand Down Expand Up @@ -211,12 +210,6 @@ public static function update( $db_version, $current ) {
if ( version_compare( $db_version, '1.3.1', '<' ) ) {
add_action( 'wp_stream_after_connectors_registration', 'WP_Stream_Install::migrate_installer_edits_to_theme_editor_connector' );
}

// If version is lower than 1.3.2, do the update routine
// Update Stream table to include author_role
if ( version_compare( $db_version, '1.3.2', '<' ) ) {
$wpdb->query( "ALTER TABLE {$prefix}stream ADD author_role varchar(20) NOT NULL AFTER author" );
}
}

/**
Expand Down

0 comments on commit 76d5af3

Please sign in to comment.