re-arrange the order a bit

This commit is contained in:
friendica 2013-01-21 15:42:58 -08:00
parent debf7f5f26
commit ab24a967b6

View File

@ -55,11 +55,13 @@ function magic_init(&$a) {
$token = random_string();
$token_sig = rsa_sign($token,$channel['channel_prvkey']);
$recip = array(array('guid' => $x[0]['hubloc_guid'],'guid_sig' => $x[0]['hubloc_guid_sig']));
$channel = $a->get_channel();
$channel['token'] = $token;
$channel['token_sig'] = $token_sig;
$recip = array(array('guid' => $x[0]['hubloc_guid'],'guid_sig' => $x[0]['hubloc_guid_sig']));
$hash = random_string();
$r = q("insert into verify ( type, channel, token, meta, created) values ('%s','%d','%s','%s','%s')",