summaryrefslogtreecommitdiff
path: root/actions/favor.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/favor.php')
-rw-r--r--actions/favor.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/favor.php b/actions/favor.php
index afda93cff..92756366d 100644
--- a/actions/favor.php
+++ b/actions/favor.php
@@ -20,6 +20,7 @@
if (!defined('LACONICA')) { exit(1); }
require_once(INSTALLDIR.'/lib/mail.php');
+require_once INSTALLDIR.'/lib/disfavorform.php';
class FavorAction extends Action
{
@@ -73,7 +74,8 @@ class FavorAction extends Action
$this->element('title', null, _('Disfavor favorite'));
$this->elementEnd('head');
$this->elementStart('body');
- common_disfavor_form($notice);
+ $disfavor = new DisFavorForm($this, $notice);
+ $disfavor->show();
$this->elementEnd('body');
$this->elementEnd('html');
} else {