We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 7a197405 authored by Brion Vibber's avatar Brion Vibber

fix notices in SN_YammerClient

parent 7c53c1a4
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment