aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-15 13:02:44 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-15 13:02:44 +0000
commite02a497c2d49485ea4f4d8ac9fc7b43119436144 (patch)
treeaa3fed97fe0e051458c2dcf2c108df4874642184
parent377169a08d31e1b058d35995cdf05b394b82800a (diff)
downloadelgg-e02a497c2d49485ea4f4d8ac9fc7b43119436144.tar.gz
elgg-e02a497c2d49485ea4f4d8ac9fc7b43119436144.tar.bz2
Fixes #3129. Fixed faulty logic that broke upgrades.
git-svn-id: http://code.elgg.org/elgg/trunk@8721 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php b/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
index d5da56978..bfa3402b5 100644
--- a/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
+++ b/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
@@ -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;
}