forked from GNUsocial/gnu-social
MagicEnvelope::parse shouldn't be called statically
This commit is contained in:
parent
6ee7660a58
commit
1cf08c7ad7
@ -54,8 +54,9 @@ class SalmonAction extends Action
|
|||||||
common_log(LOG_DEBUG, "Salmon signature verification failed.");
|
common_log(LOG_DEBUG, "Salmon signature verification failed.");
|
||||||
$this->clientError(_m('Salmon signature verification failed.'));
|
$this->clientError(_m('Salmon signature verification failed.'));
|
||||||
} else {
|
} else {
|
||||||
$env = MagicEnvelope::parse($xml);
|
$magic_env = new MagicEnvelope();
|
||||||
$xml = MagicEnvelope::unfold($env);
|
$env = $magic_env->parse($xml);
|
||||||
|
$xml = $magic_env->unfold($env);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user