Browse files

prevent upgrade from running spuriously

  • Loading branch information...
1 parent 07fb560 commit 8ba77c84e417fedc88fddbac4efc07c2460f279b @alexkingorg alexkingorg committed Mar 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 upgrades/2.0.php
View
2 upgrades/2.0.php
@@ -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

0 comments on commit 8ba77c8

Please sign in to comment.