mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Deprecated constructor style.
This commit is contained in:
parent
4a79c081b5
commit
38a722ec60
1 changed files with 1 additions and 1 deletions
2
poll.php
2
poll.php
|
@ -169,7 +169,7 @@ class bb_poll
|
|||
public $poll_votes = array();
|
||||
public $max_votes = 0;
|
||||
|
||||
public function bb_poll()
|
||||
public function __construct()
|
||||
{
|
||||
global $bb_cfg;
|
||||
$this->max_votes = $bb_cfg['max_poll_options'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue