Skip to content

Commit

Permalink
static column_count not used. It was used as attribute
Browse files Browse the repository at this point in the history
And static not needed because the helper is already an instance that is
reused
  • Loading branch information
Klap-in committed Aug 10, 2022
1 parent 715dbd9 commit 20cc304
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@ class helper_plugin_wrap extends DokuWiki_Plugin {
'wrap_info', 'wrap_important', 'wrap_alert', 'wrap_tip', 'wrap_help', 'wrap_todo',
'wrap_download', 'wrap_hi', 'wrap_spoiler');
static protected $paragraphs = array ('wrap_leftalign', 'wrap_rightalign', 'wrap_centeralign', 'wrap_justify');
static protected $column_count = 0;
static $box_left_pos = 0;
static $box_right_pos = 0;
static $box_first = true;
static $table_entr = 0;

protected $column_count = 0;

/**
* get attributes (pull apart the string between '<wrap' and '>')
* and identify classes, width, lang and dir
Expand Down

0 comments on commit 20cc304

Please sign in to comment.