From 0021c16bd11be5c9e9f0196154b037e604d6bf37 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 13 Sep 2010 12:06:10 -0700 Subject: [PATCH] Declare public options on DisqusPlugin to avoid notice warnings on access if not set. --- plugins/DisqusPlugin.php | 3 +++ 1 file changed, 3 insertions(+) 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') { -- 2.39.5