MagicEnvelope::parse shouldn't be called statically

This commit is contained in:
James Walker 2010-02-26 17:09:50 -05:00
parent 6ee7660a58
commit 1cf08c7ad7

View File

@ -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);
} }