]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Remove/replace killme() with *exit()
[friendica.git] / include / api.php
index d657d8369c690a47ad24a4b62084698ee906962c..6993cb6889f8a46a10ee1b83a1f65816dfb477b0 100644 (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