summaryrefslogtreecommitdiff
path: root/plugins/OStatus/classes/Magicsig.php
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-02-26 14:21:21 -0500
committerJames Walker <walkah@walkah.net>2010-02-26 14:22:49 -0500
commit223ebc765c454e030a49df7e2e1b9cdc2b005fe6 (patch)
tree5fb2eae080db3c9c3136e9fe93503d6932fa6db2 /plugins/OStatus/classes/Magicsig.php
parent3a7eef1074a80150fd428c73d49bcd4fc1b66e89 (diff)
move signing to take a local actor profile and use local keys
Diffstat (limited to 'plugins/OStatus/classes/Magicsig.php')
-rw-r--r--plugins/OStatus/classes/Magicsig.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/Magicsig.php b/plugins/OStatus/classes/Magicsig.php
index 02882d19b..751527c81 100644
--- a/plugins/OStatus/classes/Magicsig.php
+++ b/plugins/OStatus/classes/Magicsig.php
@@ -49,7 +49,8 @@ class Magicsig extends Memcached_DataObject
public /*static*/ function staticGet($k, $v=null)
{
- return parent::staticGet(__CLASS__, $k, $v);
+ $obj = parent::staticGet(__CLASS__, $k, $v);
+ return Magicsig::fromString($obj->keypair);
}