diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 20:54:03 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-15 20:54:03 +0000 |
commit | 7233e89be621c2b9ad80b8a7eb2bc16185596cca (patch) | |
tree | 0adedc8accd9f90ea26fd008d3c4f4cf371ef839 /lib/noticelist.php | |
parent | c42b88308683fccfc7710a39a363d98270ade39b (diff) | |
parent | c08eadc774c2231e6b434ba067e2d7115404606f (diff) |
Merge ../csarven into uiredesign
Conflicts:
lib/action.php
Diffstat (limited to 'lib/noticelist.php')
-rw-r--r-- | lib/noticelist.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/noticelist.php b/lib/noticelist.php index fb3e66f9f..0fc6d513f 100644 --- a/lib/noticelist.php +++ b/lib/noticelist.php @@ -229,9 +229,11 @@ class NoticeListItem extends Widget $user = common_current_user(); if ($user) { if ($user->hasFave($this->notice)) { - common_disfavor_form($this->notice); + $disfavor = new DisfavorForm($this->out, $this->notice); + $disfavor->show(); } else { - common_favor_form($this->notice); + $favor = new FavorForm($this->out, $this->notice); + $favor->show(); } } } |