fix notices in SN_YammerClient
This commit is contained in:
		| @@ -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); | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user