diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-21 11:52:06 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-21 11:52:06 -0500 |
commit | 0824bb2e1df68fd6634ca915e4c87664ee2ef872 (patch) | |
tree | 690a016561e9c4012871dbad7434a7341ef33fdf /actions/subscribe.php | |
parent | 4491e82762e498a02ec4f8a9f6c98cc194071e1f (diff) | |
parent | 92e2f3babc89863518b8711a1b62661752d806f5 (diff) |
Merge branch 'master' into groups
Diffstat (limited to 'actions/subscribe.php')
-rw-r--r-- | actions/subscribe.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/subscribe.php b/actions/subscribe.php index b6f03f0f1..171332734 100644 --- a/actions/subscribe.php +++ b/actions/subscribe.php @@ -64,12 +64,13 @@ class SubscribeAction extends Action } if ($this->boolean('ajax')) { - common_start_html('text/xml;charset=utf-8', true); + $this->startHTML('text/xml;charset=utf-8', true); $this->elementStart('head'); $this->element('title', null, _('Subscribed')); $this->elementEnd('head'); $this->elementStart('body'); - common_unsubscribe_form($other->getProfile()); + $unsubscribe = new UnsubscribeForm($this, $other->getProfile()); + $unsubscribe->show(); $this->elementEnd('body'); $this->elementEnd('html'); } else { |