Skip to content

Commit

Permalink
prevent upgrade from running spuriously
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkingorg committed Mar 20, 2012
1 parent 63d104a commit c094fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upgrades/2.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
}

// De-auth Facebook accounts for new permissions.
if (version_compare($installed_version, '2.0', '<')) {
if (version_compare(Social::option('installed_version'), '2.0', '<')) {
// Fix aggregated IDs
$results = $wpdb->get_results("
SELECT post_id, meta_value
Expand Down

0 comments on commit c094fad

Please sign in to comment.