Skip to content
Browse files

Swap 4.0.2 upgrade function for 4.0.3.

Because the 4.0.2 upgrade was called in such a way that it never fired
we can just swap it for the 4.0.3 upgrade (which corrects the
never-fired issue).
  • Loading branch information...
1 parent 61f4624 commit 9fb7c09b05e920d2069f095fc7d3df79bd525b5c Michael Sisk committed Jan 22, 2013
Showing with 5 additions and 5 deletions.
  1. +5 −5 -/php/upgrade.php
View
10 -/php/upgrade.php
@@ -11,27 +11,27 @@
class WebcomicUpgrade extends Webcomic {
/** Upgrade existing installations.
*
- * @uses WebcomicUpgrade::_402
+ * @uses WebcomicUpgrade::_403
* @uses Webcomic::$config
* @uses Webcomic::$version
*/
public function __construct() {
- if ( version_compare( self::$config[ 'version' ], '4.0.2', '<' ) ) {
- $this->_402();
+ if ( version_compare( self::$config[ 'version' ], '4.0.3', '<' ) ) {
+ $this->_403();
}
self::$config[ 'version' ] = self::$version;
update_option( 'webcomic_options', self::$config );
}
- /** Upgrade to 4.0.2
+ /** Upgrade to 4.0.3
*
* @see github.com/mgsisk/webcomic/commit/73bbd5a1c21ba227c5023374a98f49d8bf05a54b
* @see github.com/mgsisk/webcomic/commit/7d3ba3918121fe5c78754a0f012ab3b9d21fd2ae
* @uses Webcomic::$config
*/
- private function _402() {
+ private function _403() {
$themes = wp_get_themes();
foreach ( self::$config[ 'collections' ] as $k => $v ) {

0 comments on commit 9fb7c09

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