aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--engine/lib/upgrades/2010100500.php9
-rw-r--r--version.php2
2 files changed, 10 insertions, 1 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');
+}
diff --git a/version.php b/version.php
index a9aa992c6..85b5efb52 100644
--- a/version.php
+++ b/version.php
@@ -12,7 +12,7 @@
// YYYYMMDD = Elgg Date
// XX = Interim incrementer
-$version = 2010071002;
+$version = 2010100500;
// Human-friendly version name
$release = '1.8-svn';