aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-16 02:44:23 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-16 02:44:23 +0000
commitd39eab08115aad2add54b9382c3744728508df35 (patch)
treedfb6c44dbf9bdf7db3f6097788eef91a84419289 /engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
parente02a497c2d49485ea4f4d8ac9fc7b43119436144 (diff)
downloadelgg-d39eab08115aad2add54b9382c3744728508df35.tar.gz
elgg-d39eab08115aad2add54b9382c3744728508df35.tar.bz2
Fixes #3141. Fixed twitter_api and oauth_api upgrades. Only worked on localhost because of code gnomes.
git-svn-id: http://code.elgg.org/elgg/trunk@8731 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php')
-rw-r--r--engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php4
1 files changed, 3 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
index bfa3402b5..98c00f506 100644
--- a/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
+++ b/engine/lib/upgrades/2011031400-1.8_svn-oauth_api-8f33ee79c3e66222.php
@@ -19,4 +19,6 @@ if (!$old || !$new) {
if ($old->isActive()) {
$old->deactivate();
$new->activate();
-} \ No newline at end of file
+}
+
+$old->delete(); \ No newline at end of file