summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-30 16:01:14 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-30 16:01:14 -0500
commit481c6d2316f3a31c85235cb64fbd198a08a92211 (patch)
tree05c8949dc09ab6fb4dcbc330a36f86ffc1163520 /actions
parenta3f601cd4e45832fb8bdd89419dde93d9a89aadb (diff)
add some breaks so that switch statement works
darcs-hash:20081230210114-84dde-4fbf5b718841ae1c46129a6b58d6b4e239d8be09.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/twitapilaconica.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/twitapilaconica.php b/actions/twitapilaconica.php
index 4ecbf94e1..6d3490abd 100644
--- a/actions/twitapilaconica.php
+++ b/actions/twitapilaconica.php
@@ -72,10 +72,12 @@ class TwitapilaconicaAction extends TwitterapiAction
$this->init_document('xml');
common_element('version', null, LACONICA_VERSION);
$this->end_document('xml');
+ break;
case 'json':
$this->init_document('json');
print '"'.LACONICA_VERSION.'"';
$this->end_document('json');
+ break;
default:
$this->client_error(_('API method not found!'), $code=404);
}