Remove/replace killme() with *exit()

This commit is contained in:
Hypolite Petovan 2018-12-26 00:40:12 -05:00
parent df386800d3
commit 895b3abf32
75 changed files with 167 additions and 187 deletions

View file

@ -3928,10 +3928,10 @@ function api_oauth_request_token()
$r = $oauth1->fetch_request_token(OAuthRequest::from_request());
} catch (Exception $e) {
echo "error=" . OAuthUtil::urlencode_rfc3986($e->getMessage());
killme();
exit();
}
echo $r;
killme();
exit();
}
/**
@ -3947,10 +3947,10 @@ function api_oauth_access_token()
$r = $oauth1->fetch_access_token(OAuthRequest::from_request());
} catch (Exception $e) {
echo "error=". OAuthUtil::urlencode_rfc3986($e->getMessage());
killme();
exit();
}
echo $r;
killme();
exit();
}
/// @TODO move to top of file or somewhere better