diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-21 15:29:04 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-28 07:44:20 -0700 |
commit | 7a197405be2a69e8b3d9031b77b769a4ad99bd6c (patch) | |
tree | 2b2cf2605524bd3876e8cc0130d7a877674e41c3 /plugins/YammerImport/sn_yammerclient.php | |
parent | 7c53c1a462a5c6b13370f66c09706624f472056a (diff) |
fix notices in SN_YammerClient
Diffstat (limited to 'plugins/YammerImport/sn_yammerclient.php')
-rw-r--r-- | plugins/YammerImport/sn_yammerclient.php | 4 |
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); } |