fix notices in SN_YammerClient

This commit is contained in:
Brion Vibber 2010-09-21 15:29:04 -07:00
parent 7c53c1a462
commit 7a197405be
1 changed files with 2 additions and 2 deletions

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);
}