diff options
author | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-05 20:25:11 +0000 |
---|---|---|
committer | nickw <nickw@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-05 20:25:11 +0000 |
commit | d52ced80bcd6281b3bd22b5ee83edb818c2d72e2 (patch) | |
tree | 8f941113ef68cda2685d406c11aa6486495bb086 /engine | |
parent | ff54fa54bcfc8d39d92b5e42f0111fed5cd16a12 (diff) | |
download | elgg-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.php | 9 |
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'); +} |