Deprecated constructor style.

This commit is contained in:
Yuriy Pikhtarev 2017-05-05 00:58:11 +03:00
commit 38a722ec60
No known key found for this signature in database
GPG key ID: 3A9B5A757B48ECC6

View file

@ -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'];