forked from GNUsocial/gnu-social
Declare public options on DisqusPlugin to avoid notice warnings on access if not set.
This commit is contained in:
parent
f17512cfe6
commit
0021c16bd1
@ -71,6 +71,9 @@ if (!defined('STATUSNET')) {
|
|||||||
|
|
||||||
class DisqusPlugin extends Plugin
|
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)
|
function onEndShowContentBlock($action)
|
||||||
{
|
{
|
||||||
if (get_class($action) == 'ShownoticeAction') {
|
if (get_class($action) == 'ShownoticeAction') {
|
||||||
|
Loading…
Reference in New Issue
Block a user