Merge pull request #160 from oohlaf/fixes

ret_secret is not used
This commit is contained in:
friendica 2013-09-30 01:09:04 -07:00
commit a8ebd7e3fa

View file

@ -789,10 +789,6 @@ function zot_fetch($arr) {
return;
}
$ret_secret = json_encode(array($arr['secret'],'secret_sig' => base64url_encode(rsa_sign($arr['secret'],get_config('system','prvkey')))));
$data = array(
'type' => 'pickup',
'url' => z_root(),
@ -802,7 +798,6 @@ function zot_fetch($arr) {
'secret_sig' => base64url_encode(rsa_sign($arr['secret'],get_config('system','prvkey')))
);
$datatosend = json_encode(aes_encapsulate(json_encode($data),$ret_hub['hubloc_sitekey']));
$fetch = zot_zot($url,$datatosend);