mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Remove/replace killme() with *exit()
This commit is contained in:
parent
df386800d3
commit
895b3abf32
75 changed files with 167 additions and 187 deletions
|
@ -91,7 +91,6 @@ abstract class OAuthSignatureMethod {
|
|||
*/
|
||||
public function check_signature($request, $consumer, $token, $signature) {
|
||||
$built = $this->build_signature($request, $consumer, $token);
|
||||
//echo "<pre>"; var_dump($signature, $built, ($built == $signature)); killme();
|
||||
return ($built == $signature);
|
||||
}
|
||||
}
|
||||
|
@ -296,7 +295,6 @@ class OAuthRequest {
|
|||
$http_url = substr($http_url, 0, strpos($http_url,$parameters['pagename'])+strlen($parameters['pagename']));
|
||||
unset( $parameters['pagename'] );
|
||||
|
||||
//echo "<pre>".__function__."\n"; var_dump($http_method, $http_url, $parameters, $_SERVER['REQUEST_URI']); killme();
|
||||
return new OAuthRequest($http_method, $http_url, $parameters);
|
||||
}
|
||||
|
||||
|
@ -561,7 +559,6 @@ class OAuthServer {
|
|||
public function verify_request(&$request) {
|
||||
$this->get_version($request);
|
||||
$consumer = $this->get_consumer($request);
|
||||
//echo __file__.__line__.__function__."<pre>"; var_dump($consumer); die();
|
||||
$token = $this->get_token($request, $consumer, "access");
|
||||
$this->check_signature($request, $consumer, $token);
|
||||
return array($consumer, $token);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue