ret_secret is not used
This commit is contained in:
parent
49882c13a4
commit
0497c441df
@ -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);
|
||||
|
Reference in New Issue
Block a user