summaryrefslogtreecommitdiff
path: root/plugins/OStatus/scripts
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-09-02 22:57:37 -0400
committerEvan Prodromou <evan@status.net>2010-09-02 22:57:37 -0400
commit326258bfef7282509d719238234038d0f6a8d3ff (patch)
tree43c51335d817bcb02af3b0cae50e8f8e5449e6e9 /plugins/OStatus/scripts
parent6f540f963b6b9c5355b3fc89c9b14146d90d6a6e (diff)
parent6c14235d6c3359a6c9012ec49077f8defe117779 (diff)
Merge branch '0.9.x' into 1.0.x
Diffstat (limited to 'plugins/OStatus/scripts')
-rw-r--r--plugins/OStatus/scripts/fixup-shadow.php3
-rw-r--r--plugins/OStatus/scripts/testfeed.php1
-rw-r--r--plugins/OStatus/scripts/updateostatus.php2
3 files changed, 2 insertions, 4 deletions
diff --git a/plugins/OStatus/scripts/fixup-shadow.php b/plugins/OStatus/scripts/fixup-shadow.php
index 6522ca240..4b6ad08a3 100644
--- a/plugins/OStatus/scripts/fixup-shadow.php
+++ b/plugins/OStatus/scripts/fixup-shadow.php
@@ -77,7 +77,7 @@ while ($oprofile->fetch()) {
echo "$uri matched query, but we don't recognize it.\n";
continue;
}
-
+
if ($dry) {
echo " - skipping\n";
} else {
@@ -93,4 +93,3 @@ if ($count && $dry) {
} else {
echo "done.\n";
}
-
diff --git a/plugins/OStatus/scripts/testfeed.php b/plugins/OStatus/scripts/testfeed.php
index 5e3ccd433..82a1c6586 100644
--- a/plugins/OStatus/scripts/testfeed.php
+++ b/plugins/OStatus/scripts/testfeed.php
@@ -86,4 +86,3 @@ if ($skip || $count) {
}
Event::handle('StartFeedSubReceive', array($sub, $feed));
-
diff --git a/plugins/OStatus/scripts/updateostatus.php b/plugins/OStatus/scripts/updateostatus.php
index ff0d86d37..052cca146 100644
--- a/plugins/OStatus/scripts/updateostatus.php
+++ b/plugins/OStatus/scripts/updateostatus.php
@@ -49,7 +49,7 @@ try {
$nickname = get_option_value('n', 'nickname');
$user = User::staticGet('nickname', $nickname);
if (empty($user)) {
- throw new Exception("Can't find user with nickname '$nickname'");
+ throw new Exception("Can't find user with nickname '$nickname'.");
}
updateOStatus($user);
} else if (have_option('a', 'all')) {