diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-08-06 15:14:27 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-08-06 15:14:27 -0400 |
commit | 26b608d914bb5a04c2285111588cbdad12a5a936 (patch) | |
tree | a4c1fd1fa1ae801d780aeff10d802b78d68ede80 /lib | |
parent | 153248b48230a342648577480e36224eaee85535 (diff) |
Support the 'lite' parameter to statuses/friends and statuses/followers twitter api methods.
http://laconi.ca/trac/ticket/1786
Diffstat (limited to 'lib')
-rw-r--r-- | lib/twitterapi.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/twitterapi.php b/lib/twitterapi.php index 4115d9dcb..4737c5874 100644 --- a/lib/twitterapi.php +++ b/lib/twitterapi.php @@ -844,9 +844,9 @@ class TwitterapiAction extends Action $this->endXML(); } - function show_profile($profile, $content_type='xml', $notice=null) + function show_profile($profile, $content_type='xml', $notice=null, $includeStatuses=true) { - $profile_array = $this->twitter_user_array($profile, true); + $profile_array = $this->twitter_user_array($profile, $includeStatuses); switch ($content_type) { case 'xml': $this->show_twitter_xml_user($profile_array); |