diff options
author | zach <zach@controlyourself.ca> | 2008-09-30 22:54:21 -0400 |
---|---|---|
committer | zach <zach@controlyourself.ca> | 2008-09-30 22:54:21 -0400 |
commit | 6beddfdbb926aaa5af42e68ff459f11e0e5f6b5f (patch) | |
tree | 9dfa00b3fa201ff6e0848f97a80ebb7bb02a7e0d /actions/twitapiblocks.php | |
parent | dec2f29c6a77dd97383ebdbabdc0bff8e524bfa4 (diff) |
Twitter-compatible API - cleaned up sloppy control flow: exit() statements everywhere
darcs-hash:20081001025421-462f3-3bf666327de3a3c5ea506b2c387741dc3d0e82bf.gz
Diffstat (limited to 'actions/twitapiblocks.php')
-rw-r--r-- | actions/twitapiblocks.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/actions/twitapiblocks.php b/actions/twitapiblocks.php index 0fdbba199..21d620dd3 100644 --- a/actions/twitapiblocks.php +++ b/actions/twitapiblocks.php @@ -26,13 +26,11 @@ class TwitapiblocksAction extends TwitterapiAction { function create($args, $apidata) { parent::handle($args); common_server_error(_('API method under construction.'), $code=501); - exit(); } - + function destroy($args, $apidata) { parent::handle($args); common_server_error(_('API method under construction.'), $code=501); - exit(); } - + }
\ No newline at end of file |