fix notices in SN_YammerClient

This commit is contained in:
Brion Vibber 2010-09-21 15:29:04 -07:00
parent 9b1b9b711b
commit 5b9efbb501

View File

@ -27,7 +27,7 @@ class SN_YammerClient
{
protected $apiBase = "https://www.yammer.com";
protected $consumerKey, $consumerSecret;
protected $token, $tokenSecret;
protected $token, $tokenSecret, $verifier;
public function __construct($consumerKey, $consumerSecret, $token=null, $tokenSecret=null)
{
@ -158,7 +158,7 @@ class SN_YammerClient
return $this->apiBase . '/oauth/authorize?oauth_token=' . urlencode($token);
}
public function messages($params)
public function messages($params=array())
{
return $this->api('messages', $params);
}