]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Fixes #3129. Fixed faulty logic that broke upgrades.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 15 Mar 2011 13:02:44 +0000 (13:02 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 15 Mar 2011 13:02:44 +0000 (13:02 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@8721 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php

index d5da56978c838ff38eb3826a57d6466b377bc9a2..bfa3402b599bef0a850fdaf032a617d744da0829 100644 (file)
@@ -12,7 +12,7 @@ elgg_generate_plugin_entities();
 $old = elgg_get_plugin_from_id('oauth_lib');
 $new = elgg_get_plugin_from_id('oauth_api');
 
-if (!$old && !$new) {
+if (!$old || !$new) {
        return true;
 }