forked from GNUsocial/gnu-social
fix notices in SN_YammerClient
This commit is contained in:
parent
9b1b9b711b
commit
5b9efbb501
@ -27,7 +27,7 @@ class SN_YammerClient
|
|||||||
{
|
{
|
||||||
protected $apiBase = "https://www.yammer.com";
|
protected $apiBase = "https://www.yammer.com";
|
||||||
protected $consumerKey, $consumerSecret;
|
protected $consumerKey, $consumerSecret;
|
||||||
protected $token, $tokenSecret;
|
protected $token, $tokenSecret, $verifier;
|
||||||
|
|
||||||
public function __construct($consumerKey, $consumerSecret, $token=null, $tokenSecret=null)
|
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);
|
return $this->apiBase . '/oauth/authorize?oauth_token=' . urlencode($token);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function messages($params)
|
public function messages($params=array())
|
||||||
{
|
{
|
||||||
return $this->api('messages', $params);
|
return $this->api('messages', $params);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user