summaryrefslogtreecommitdiff
path: root/actions/twitapifriendships.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:57:15 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-15 22:57:15 +0000
commiteaa81d25fa7bd954132ce7f901fae69b0d46ec1a (patch)
tree25ac22e73ca93935b2a27e1e91e485b04ec3e01d /actions/twitapifriendships.php
parent2b2fb276219f87cdc0430d91ac3695e098ae48f4 (diff)
Convert all actions to use new UI functions
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
Diffstat (limited to 'actions/twitapifriendships.php')
-rw-r--r--actions/twitapifriendships.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php
index ba4afe441..458ff48a5 100644
--- a/actions/twitapifriendships.php
+++ b/actions/twitapifriendships.php
@@ -142,7 +142,7 @@ class TwitapifriendshipsAction extends TwitterapiAction
switch ($apidata['content-type']) {
case 'xml':
$this->init_document('xml');
- common_element('friends', null, $result);
+ $this->element('friends', null, $result);
$this->end_document('xml');
break;
case 'json':