mirror of
https://github.com/friendica/friendica
synced 2025-04-26 11:50:11 +00:00
Remove/replace killme() with *exit()
This commit is contained in:
parent
df386800d3
commit
895b3abf32
75 changed files with 167 additions and 187 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue