]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix notices in SN_YammerClient
authorBrion Vibber <brion@pobox.com>
Tue, 21 Sep 2010 22:29:04 +0000 (15:29 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 21 Sep 2010 22:29:04 +0000 (15:29 -0700)
plugins/YammerImport/sn_yammerclient.php

index c77fc4ce364d29c8a39bc43f67303ede915d1f8d..21caa7b7caae23c7e66e20e09715cd29c93d03a0 100644 (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);
     }