]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Declare public options on DisqusPlugin to avoid notice warnings on access if not...
authorBrion Vibber <brion@pobox.com>
Mon, 13 Sep 2010 19:06:10 +0000 (12:06 -0700)
committerBrion Vibber <brion@pobox.com>
Mon, 13 Sep 2010 19:06:10 +0000 (12:06 -0700)
plugins/DisqusPlugin.php

index c07eaaabddf7a5a337caf77ea57a315cc4ecb97a..eef40616ee57398bfbad85bd6086fa432591405b 100644 (file)
@@ -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') {