summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-09-13 12:06:10 -0700
committerBrion Vibber <brion@pobox.com>2010-09-13 12:06:10 -0700
commit0021c16bd11be5c9e9f0196154b037e604d6bf37 (patch)
treed92a162d03e2d5fe5eebee3e75dd7033e54afbf6 /plugins
parentf17512cfe603b8f00576cdff10f3a3d71924c000 (diff)
Declare public options on DisqusPlugin to avoid notice warnings on access if not set.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/DisqusPlugin.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/DisqusPlugin.php b/plugins/DisqusPlugin.php
index c07eaaabd..eef40616e 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 <div>
+
function onEndShowContentBlock($action)
{
if (get_class($action) == 'ShownoticeAction') {