diff options
author | Brion Vibber <brion@pobox.com> | 2010-09-13 12:06:10 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-09-13 12:06:10 -0700 |
commit | 0021c16bd11be5c9e9f0196154b037e604d6bf37 (patch) | |
tree | d92a162d03e2d5fe5eebee3e75dd7033e54afbf6 | |
parent | f17512cfe603b8f00576cdff10f3a3d71924c000 (diff) |
Declare public options on DisqusPlugin to avoid notice warnings on access if not set.
-rw-r--r-- | plugins/DisqusPlugin.php | 3 |
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') { |