Skip to content
This repository
Browse code

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

…his isn't necessary.

See #46
  • Loading branch information...
commit ce240f281f1a0b723bb2aba8a1a87d17ba19f483 1 parent 35802e2
Daniel Bachhuber authored May 31, 2012

Showing 1 changed file with 0 additions and 10 deletions. Show diff stats Hide diff stats

  1. 10  upgrade.php
10  upgrade.php
@@ -3,9 +3,6 @@ function coauthors_plus_upgrade( $from ) {
3 3
 	// TODO: handle upgrade failures
4 4
 	
5 5
 	if( $from < 2.0 ) coauthors_plus_upgrade_20();
6  
-	
7  
-	// Update to the current global version
8  
-	coauthors_plus_update_version(COAUTHORS_PLUS_VERSION);
9 6
 }
10 7
 
11 8
 /** 
@@ -46,11 +43,4 @@ function coauthors_plus_upgrade_20 () {
46 43
 			
47 44
 		}
48 45
 	}
49  
-	coauthors_plus_update_version( '2.0' );
50  
-}
51  
-
52  
-function coauthors_plus_update_version( $version ) {
53  
-	global $coauthors_plus;
54  
-	// This method doesn't exist
55  
-	update_option($coauthors_plus->get_plugin_option_fullname('version'), $version);
56 46
 }

0 notes on commit ce240f2

Please sign in to comment.
Something went wrong with that request. Please try again.