]> git.mxchange.org Git - friendica.git/commitdiff
line breaks by mistake reversed
authorgerhard6380 <gerhard@seeber.at>
Mon, 1 May 2017 14:47:17 +0000 (16:47 +0200)
committergerhard6380 <gerhard@seeber.at>
Mon, 1 May 2017 14:47:17 +0000 (16:47 +0200)
include/api.php

index 02e7091e8c63c43e1773500c29d436a244503230..cde0f96eae995daccfc92c9353dd12fefbd9216b 100644 (file)
@@ -3253,8 +3253,7 @@ $called_api = null;
                try {
                        $oauth = new FKOAuth1();
                        $r = $oauth->fetch_request_token(OAuthRequest::from_request());
-               }
-               catch (Exception $e) {
+               } catch (Exception $e) {
                        echo "error=" . OAuthUtil::urlencode_rfc3986($e->getMessage());
                        killme();
                }
@@ -3266,8 +3265,7 @@ $called_api = null;
                try {
                        $oauth = new FKOAuth1();
                        $r = $oauth->fetch_access_token(OAuthRequest::from_request());
-               }
-               catch (Exception $e) {
+               } catch (Exception $e) {
                        echo "error=". OAuthUtil::urlencode_rfc3986($e->getMessage()); killme();
                }
                echo $r;