summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-21 15:29:04 -0700
committerBrion Vibber <brion@pobox.com>2010-09-21 15:29:04 -0700
commit5b9efbb5014307c6ed3e4cf9a6e87ceb4331c223 (patch)
tree7bf7ba7d613af2ce02dcada5107e662b7bcbbacd
parent9b1b9b711b79663ece7c306225342b9f9d750cff (diff)
fix notices in SN_YammerClient
-rw-r--r--plugins/YammerImport/sn_yammerclient.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YammerImport/sn_yammerclient.php b/plugins/YammerImport/sn_yammerclient.php
index c77fc4ce3..21caa7b7c 100644
--- a/plugins/YammerImport/sn_yammerclient.php
+++ b/plugins/YammerImport/sn_yammerclient.php
@@ -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);
}