Replace the direct access of config variables

This commit is contained in:
Michael 2017-01-17 19:21:46 +00:00
commit 53393233c3
5 changed files with 25 additions and 18 deletions

View file

@ -224,9 +224,7 @@ function dfrn_confirm_post(App $a, $handsfree = null) {
*
*/
$a->config['system']['curl_timeout'] = 120;
$res = post_url($dfrn_confirm,$params);
$res = post_url($dfrn_confirm, $params, null, $redirects, 120);
logger(' Confirm: received data: ' . $res, LOGGER_DATA);