From: Brion Vibber Date: Mon, 13 Sep 2010 19:06:10 +0000 (-0700) Subject: Declare public options on DisqusPlugin to avoid notice warnings on access if not... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0021c16bd11be5c9e9f0196154b037e604d6bf37;p=quix0rs-gnu-social.git Declare public options on DisqusPlugin to avoid notice warnings on access if not set. --- diff --git a/plugins/DisqusPlugin.php b/plugins/DisqusPlugin.php index c07eaaabdd..eef40616ee 100644 --- a/plugins/DisqusPlugin.php +++ b/plugins/DisqusPlugin.php @@ -71,6 +71,9 @@ if (!defined('STATUSNET')) { class DisqusPlugin extends Plugin { + public $shortname; // Required 'shortname' for actually triggering Disqus. + public $div_style; // Optional CSS chunk for the main
+ function onEndShowContentBlock($action) { if (get_class($action) == 'ShownoticeAction') {