]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Creating an upgrade to migrate users from old oauth to new oauth_lib plugin.
authornickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 5 Oct 2010 20:25:11 +0000 (20:25 +0000)
committernickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544>
Tue, 5 Oct 2010 20:25:11 +0000 (20:25 +0000)
Closes #2532

git-svn-id: http://code.elgg.org/elgg/trunk@7017 36083f99-b078-4883-b0ff-0f9b5a30f544

engine/lib/upgrades/2010100500.php [new file with mode: 0644]
version.php

diff --git a/engine/lib/upgrades/2010100500.php b/engine/lib/upgrades/2010100500.php
new file mode 100644 (file)
index 0000000..1f95871
--- /dev/null
@@ -0,0 +1,9 @@
+<?php
+/**
+ * Upgrades the oAuth Library plugin name
+ */
+
+if (is_plugin_enabled('oauth')) {
+       disable_plugin('oauth');
+       enable_plugin('oauth_lib');
+}
index a9aa992c6579194ef0ebe381a47ec48324ae92e2..85b5efb523f35373993060f6bc07c1598d29d92a 100644 (file)
@@ -12,7 +12,7 @@
 
 // YYYYMMDD = Elgg Date
 // XX = Interim incrementer
-$version = 2010071002;
+$version = 2010100500;
 
 // Human-friendly version name
 $release = '1.8-svn';