common -> wp-common

This commit is contained in:
Peter Molnar 2013-05-30 16:35:11 +01:00
parent 56b7fe8414
commit 8ec2ebf569
3 changed files with 1 additions and 6 deletions

3
.gitmodules vendored
View file

@ -1,6 +1,3 @@
[submodule "common"]
path = common
url = https://github.com/petermolnar/wp-common.git
[submodule "wp-common"]
path = wp-common
url = git@github.com:petermolnar/wp-common.git

1
common

@ -1 +0,0 @@
Subproject commit 8ddaed268614d2826fb74d22033302c6df231ca3

View file

@ -675,8 +675,7 @@ if ( ! class_exists( 'WP_FFPC' ) ) {
public function plugin_hook_options_migrate( &$options ) {
$migrated = false;
if ( $options['version'] != $this->plugin_version || !isset ( $options['version'] ) ) {
if ( version_compare ( $options['version'] , $this->plugin_version , '<' ) ) {
/* cleanup possible leftover files from previous versions */
$check = array ( 'advanced-cache.php', 'nginx-sample.conf', 'wp-ffpc.admin.css', 'wp-ffpc-common.php' );
foreach ( $check as $fname ) {