summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Walker <walkah@walkah.net>2010-02-25 23:37:59 -0500
committerJames Walker <walkah@walkah.net>2010-02-25 23:37:59 -0500
commit0afb09ad64bec9ea7f9569c73899b2c3fbc1e5a5 (patch)
tree8208e111cb52a4a58f389300f0acb80e01222104
parent08413428a7f4613649be3d80fd393a12e33ffbc8 (diff)
er. right.
-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 681aec184..02882d19b 100644
--- a/plugins/OStatus/classes/Magicsig.php
+++ b/plugins/OStatus/classes/Magicsig.php
@@ -90,7 +90,7 @@ class Magicsig extends Memcached_DataObject
return parent::insert();
}
- public function generate($key_length = 512)
+ public function generate($user_id, $key_length = 512)
{
PEAR::pushErrorHandling(PEAR_ERROR_RETURN);
@@ -101,6 +101,7 @@ class Magicsig extends Memcached_DataObject
$this->_rsa = new Crypt_RSA($params);
PEAR::popErrorHandling();
+ $this->user_id = $user_id;
$this->insert();
}