mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-24 12:43:40 +00:00
pumpio: corrected some typos
This commit is contained in:
parent
e917f3d26b
commit
b8213b207a
1 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ function pumpio_registerclient(&$a, $host) {
|
|||
$params["logo_url"] = $a->get_baseurl()."/images/friendica-256.png";
|
||||
$params["redirect_uris"] = $a->get_baseurl()."/pumpio/connect";
|
||||
|
||||
logger("pumpio_registerclient: ".$url." parameters ".$print_r($params, true), LOGGER_DEBUG);
|
||||
logger("pumpio_registerclient: ".$url." parameters ".print_r($params, true), LOGGER_DEBUG);
|
||||
|
||||
$ch = curl_init($url);
|
||||
curl_setopt($ch, CURLOPT_HEADER, false);
|
||||
|
@ -91,10 +91,10 @@ function pumpio_registerclient(&$a, $host) {
|
|||
|
||||
if ($curl_info["http_code"] == "200") {
|
||||
$values = json_decode($s);
|
||||
logger("pumpio_registerclient: success ".$print_r($values, true), LOGGER_DEBUG);
|
||||
logger("pumpio_registerclient: success ".print_r($values, true), LOGGER_DEBUG);
|
||||
return($values);
|
||||
}
|
||||
logger("pumpio_registerclient: failed: ".$print_r($curl_info, true), LOGGER_DEBUG);
|
||||
logger("pumpio_registerclient: failed: ".print_r($curl_info, true), LOGGER_DEBUG);
|
||||
return(false);
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue