diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-12-30 16:01:14 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-12-30 16:01:14 -0500 |
commit | 481c6d2316f3a31c85235cb64fbd198a08a92211 (patch) | |
tree | 05c8949dc09ab6fb4dcbc330a36f86ffc1163520 /_darcs/pristine | |
parent | a3f601cd4e45832fb8bdd89419dde93d9a89aadb (diff) |
add some breaks so that switch statement works
darcs-hash:20081230210114-84dde-4fbf5b718841ae1c46129a6b58d6b4e239d8be09.gz
Diffstat (limited to '_darcs/pristine')
-rw-r--r-- | _darcs/pristine/actions/twitapilaconica.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_darcs/pristine/actions/twitapilaconica.php b/_darcs/pristine/actions/twitapilaconica.php index 4ecbf94e1..6d3490abd 100644 --- a/_darcs/pristine/actions/twitapilaconica.php +++ b/_darcs/pristine/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); } |