diff options
author | James Walker <walkah@walkah.net> | 2010-02-25 23:37:59 -0500 |
---|---|---|
committer | James Walker <walkah@walkah.net> | 2010-02-25 23:37:59 -0500 |
commit | 0afb09ad64bec9ea7f9569c73899b2c3fbc1e5a5 (patch) | |
tree | 8208e111cb52a4a58f389300f0acb80e01222104 /plugins/OStatus | |
parent | 08413428a7f4613649be3d80fd393a12e33ffbc8 (diff) |
er. right.
Diffstat (limited to 'plugins/OStatus')
-rw-r--r-- | plugins/OStatus/classes/Magicsig.php | 3 |
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(); } |