forked from GNUsocial/gnu-social
Twitter-compatible API - cleaned up sloppy control flow: exit() statements everywhere
darcs-hash:20081001025421-462f3-3bf666327de3a3c5ea506b2c387741dc3d0e82bf.gz
This commit is contained in:
@@ -45,13 +45,12 @@ class TwitapihelpAction extends TwitterapiAction {
|
||||
} else {
|
||||
common_user_error(_('API method not found!'), $code=404);
|
||||
}
|
||||
exit();
|
||||
|
||||
}
|
||||
|
||||
function downtime_schedule($args, $apidata) {
|
||||
parent::handle($args);
|
||||
common_server_error(_('API method under construction.'), $code=501);
|
||||
exit();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user