]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
reverse order from delete, insert to insert, delete on ostatus conversion
authorEvan Prodromou <evan@status.net>
Thu, 18 Mar 2010 13:04:22 +0000 (08:04 -0500)
committerEvan Prodromou <evan@status.net>
Thu, 18 Mar 2010 13:04:22 +0000 (08:04 -0500)
plugins/OStatus/scripts/updateostatus.php

index 1ef1ee829a35453a878014023ed1604eabde01ba..315b4927372f6fe842123be2f5b99ec051bcc65b 100644 (file)
@@ -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";
                 }