summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-02-26 17:29:04 -0500
committerEvan Prodromou <evan@status.net>2010-02-26 17:29:04 -0500
commitdced92d6fde00d7a5609aba780fcfeac7c2b2fe0 (patch)
tree05d3cfbdbebd0c2eba557c84a59f8756bd139525
parent4b696cf51f39cd2e1cec4fddaec4f82e675df8d3 (diff)
parent1cf08c7ad7704cd92d59f319573e831d1115e996 (diff)
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
-rw-r--r--plugins/OStatus/lib/salmonaction.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/OStatus/lib/salmonaction.php b/plugins/OStatus/lib/salmonaction.php
index 9ca350e67..fa9dc3b1d 100644
--- a/plugins/OStatus/lib/salmonaction.php
+++ b/plugins/OStatus/lib/salmonaction.php
@@ -54,8 +54,9 @@ class SalmonAction extends Action
common_log(LOG_DEBUG, "Salmon signature verification failed.");
$this->clientError(_m('Salmon signature verification failed.'));
} else {
- $env = MagicEnvelope::parse($xml);
- $xml = MagicEnvelope::unfold($env);
+ $magic_env = new MagicEnvelope();
+ $env = $magic_env->parse($xml);
+ $xml = $magic_env->unfold($env);
}