summaryrefslogtreecommitdiff
path: root/actions/unsubscribe.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-21 11:52:06 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-21 11:52:06 -0500
commit0824bb2e1df68fd6634ca915e4c87664ee2ef872 (patch)
tree690a016561e9c4012871dbad7434a7341ef33fdf /actions/unsubscribe.php
parent4491e82762e498a02ec4f8a9f6c98cc194071e1f (diff)
parent92e2f3babc89863518b8711a1b62661752d806f5 (diff)
Merge branch 'master' into groups
Diffstat (limited to 'actions/unsubscribe.php')
-rw-r--r--actions/unsubscribe.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/unsubscribe.php b/actions/unsubscribe.php
index 32511a4b4..f9dd6f821 100644
--- a/actions/unsubscribe.php
+++ b/actions/unsubscribe.php
@@ -66,12 +66,13 @@ class UnsubscribeAction 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, _('Unsubscribed'));
$this->elementEnd('head');
$this->elementStart('body');
- common_subscribe_form($other);
+ $subscribe = new SubscribeForm($this, $other);
+ $subscribe->show();
$this->elementEnd('body');
$this->elementEnd('html');
} else {