aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-15 03:51:51 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-15 03:51:51 +0000
commit75f8dee670c207d464937cf2baf6b6898370f52a (patch)
treee042177a781b400de0fa9629e1a26454c788a46c
parent6c8c03142db734678d460ee085a73df1d05a88a1 (diff)
downloadelgg-75f8dee670c207d464937cf2baf6b6898370f52a.tar.gz
elgg-75f8dee670c207d464937cf2baf6b6898370f52a.tar.bz2
Refs #3115. Missed the upgrade for previous commit.
git-svn-id: http://code.elgg.org/elgg/trunk@8716 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php22
-rw-r--r--version.php2
2 files changed, 23 insertions, 1 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
new file mode 100644
index 000000000..d5da56978
--- /dev/null
+++ b/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
@@ -0,0 +1,22 @@
+<?php
+/**
+ * Elgg 1.8-svn upgrade 2011031400
+ * oauth_api
+ *
+ * Switches oauth_lib to oauth_api
+ */
+
+// make sure we have the latest plugin objects.
+elgg_generate_plugin_entities();
+
+$old = elgg_get_plugin_from_id('oauth_lib');
+$new = elgg_get_plugin_from_id('oauth_api');
+
+if (!$old && !$new) {
+ return true;
+}
+
+if ($old->isActive()) {
+ $old->deactivate();
+ $new->activate();
+} \ No newline at end of file
diff --git a/version.php b/version.php
index 9da4bb269..b284525e6 100644
--- a/version.php
+++ b/version.php
@@ -11,7 +11,7 @@
// YYYYMMDD = Elgg Date
// XX = Interim incrementer
-$version = 2011031300;
+$version = 2011031400;
// Human-friendly version name
$release = '1.8-svn';