From: James Walker Date: Fri, 26 Feb 2010 04:37:59 +0000 (-0500) Subject: er. right. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0afb09ad64bec9ea7f9569c73899b2c3fbc1e5a5;p=quix0rs-gnu-social.git er. right. --- diff --git a/plugins/OStatus/classes/Magicsig.php b/plugins/OStatus/classes/Magicsig.php index 681aec184d..02882d19b1 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(); }