*
* This class allows users to link their Twitter accounts
*
+ * Depends on Favorite plugin.
+ *
* @category Plugin
* @package StatusNet
* @author Zach Copley <zach@status.net>
$action->element('meta', array('name' => 'twitter:title',
'content' => $action->attachment->title));
- $ns = new AttachmentNoticeSection($this);
+ $ns = new AttachmentNoticeSection($action);
$notices = $ns->getNotices();
$noticeArray = $notices->fetchAll();