diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-09 12:25:37 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-04-09 12:25:37 +0000 |
commit | c906e91726bbf53105234af073ce8d806cc9030f (patch) | |
tree | 013c7fc0d6c6f45bdcb63c27b5deae007c7ca7dc | |
parent | 4c5e12dbbe57e8c9d77eedb4474e18c433370551 (diff) | |
download | elgg-c906e91726bbf53105234af073ce8d806cc9030f.tar.gz elgg-c906e91726bbf53105234af073ce8d806cc9030f.tar.bz2 |
Refs #3241 we never distributed an oauth_lib plugin so we don't need an upgrade (those following svn trunk have already upgraded or can manually update this)
git-svn-id: http://code.elgg.org/elgg/trunk@8960 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r-- | engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php | 30 |
1 files changed, 0 insertions, 30 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 deleted file mode 100644 index e85268481..000000000 --- a/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php +++ /dev/null @@ -1,30 +0,0 @@ -<?php -/** - * Elgg 1.8-svn upgrade 2011031400 - * oauth_api - * - * Switches oauth_lib to oauth_api - */ - -$ia = elgg_set_ignore_access(true); - -// make sure we have updated plugins -elgg_generate_plugin_entities(); - -$show_hidden = access_get_show_hidden_status(); -access_show_hidden_entities(true); - -$old = elgg_get_plugin_from_id('oauth_lib'); -$new = elgg_get_plugin_from_id('oauth_api'); - -if (!$old || !$new) { - return true; -} - -$old->deactivate(); -$old->delete(); - -elgg_add_admin_notice('oauth_api:disabled', elgg_echo('update:oauth_api:deactivated')); - -access_show_hidden_entities($show_hidden); -elgg_set_ignore_access($ia); |