summaryrefslogtreecommitdiff
path: root/actions/microsummary.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/microsummary.php')
-rw-r--r--actions/microsummary.php38
1 files changed, 19 insertions, 19 deletions
diff --git a/actions/microsummary.php b/actions/microsummary.php
index 104467d29..ced4b0d1e 100644
--- a/actions/microsummary.php
+++ b/actions/microsummary.php
@@ -21,26 +21,26 @@ if (!defined('LACONICA')) { exit(1); }
class MicrosummaryAction extends Action {
- function handle($args) {
+ function handle($args) {
- parent::handle($args);
+ parent::handle($args);
- $nickname = common_canonical_nickname($this->arg('nickname'));
- $user = User::staticGet('nickname', $nickname);
+ $nickname = common_canonical_nickname($this->arg('nickname'));
+ $user = User::staticGet('nickname', $nickname);
- if (!$user) {
- $this->client_error(_('No such user'), 404);
- return;
- }
-
- $notice = $user->getCurrentNotice();
-
- if (!$notice) {
- $this->client_error(_('No current status'), 404);
- }
-
- header('Content-Type: text/plain');
-
- print $user->nickname . ': ' . $notice->content;
- }
+ if (!$user) {
+ $this->client_error(_('No such user'), 404);
+ return;
+ }
+
+ $notice = $user->getCurrentNotice();
+
+ if (!$notice) {
+ $this->client_error(_('No current status'), 404);
+ }
+
+ header('Content-Type: text/plain');
+
+ print $user->nickname . ': ' . $notice->content;
+ }
}