aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-05 20:25:11 +0000
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-05 20:25:11 +0000
commitd52ced80bcd6281b3bd22b5ee83edb818c2d72e2 (patch)
tree8f941113ef68cda2685d406c11aa6486495bb086 /engine
parentff54fa54bcfc8d39d92b5e42f0111fed5cd16a12 (diff)
downloadelgg-d52ced80bcd6281b3bd22b5ee83edb818c2d72e2.tar.gz
elgg-d52ced80bcd6281b3bd22b5ee83edb818c2d72e2.tar.bz2
Creating an upgrade to migrate users from old oauth to new oauth_lib plugin.
Closes #2532 git-svn-id: http://code.elgg.org/elgg/trunk@7017 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/upgrades/2010100500.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/lib/upgrades/2010100500.php b/engine/lib/upgrades/2010100500.php
new file mode 100644
index 000000000..1f9587196
--- /dev/null
+++ b/engine/lib/upgrades/2010100500.php
@@ -0,0 +1,9 @@
+<?php
+/**
+ * Upgrades the oAuth Library plugin name
+ */
+
+if (is_plugin_enabled('oauth')) {
+ disable_plugin('oauth');
+ enable_plugin('oauth_lib');
+}