]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/TwitterBridge/TwitterBridgePlugin.php
More Favorite pluginification (favecount, cache, menus(favecount, cache, menus))
[quix0rs-gnu-social.git] / plugins / TwitterBridge / TwitterBridgePlugin.php
index 03d4374547c61d62e658781771582fa4c684cb0e..3284d10563310c2aea47d9aaa115e45d96566a7a 100644 (file)
@@ -37,6 +37,8 @@ require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
  *
  * This class allows users to link their Twitter accounts
  *
+ * Depends on Favorite plugin.
+ *
  * @category Plugin
  * @package  StatusNet
  * @author   Zach Copley <zach@status.net>
@@ -559,7 +561,7 @@ class TwitterBridgePlugin extends Plugin
                 $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();