Permalink
Browse files

We're no longer using the version number stored in the database, so t…

…his isn't necessary.

See #46
  • Loading branch information...
1 parent 35802e2 commit ce240f281f1a0b723bb2aba8a1a87d17ba19f483 @danielbachhuber danielbachhuber committed May 31, 2012
Showing with 0 additions and 10 deletions.
  1. +0 −10 upgrade.php
View
@@ -3,9 +3,6 @@ function coauthors_plus_upgrade( $from ) {
// TODO: handle upgrade failures
if( $from < 2.0 ) coauthors_plus_upgrade_20();
-
- // Update to the current global version
- coauthors_plus_update_version(COAUTHORS_PLUS_VERSION);
}
/**
@@ -46,11 +43,4 @@ function coauthors_plus_upgrade_20 () {
}
}
- coauthors_plus_update_version( '2.0' );
-}
-
-function coauthors_plus_update_version( $version ) {
- global $coauthors_plus;
- // This method doesn't exist
- update_option($coauthors_plus->get_plugin_option_fullname('version'), $version);
}

0 comments on commit ce240f2

Please sign in to comment.