summaryrefslogtreecommitdiff
path: root/plugins/OStatus/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-03-18 08:04:22 -0500
committerEvan Prodromou <evan@status.net>2010-03-18 08:04:22 -0500
commita764603e733ba102c605e09d7279a59ee0d57e22 (patch)
tree56a92966059b5bec53a69d27b5408c9a43eac2bb /plugins/OStatus/scripts
parentf1af583e3e37ffb5384276222d0c1cfc1e12dd90 (diff)
reverse order from delete, insert to insert, delete on ostatus conversion
Diffstat (limited to 'plugins/OStatus/scripts')
-rw-r--r--plugins/OStatus/scripts/updateostatus.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/OStatus/scripts/updateostatus.php b/plugins/OStatus/scripts/updateostatus.php
index 1ef1ee829..315b49273 100644
--- a/plugins/OStatus/scripts/updateostatus.php
+++ b/plugins/OStatus/scripts/updateostatus.php
@@ -112,8 +112,8 @@ function updateOStatus($user)
if (!have_option('q', 'quiet')) {
echo "Converting...";
}
- Subscription::cancel($up, $rp);
Subscription::start($up, $op->localProfile());
+ Subscription::cancel($up, $rp);
if (!have_option('q', 'quiet')) {
echo "done.\n";
}