Deprecated constructor style.

(cherry picked from commit 38a722e)
This commit is contained in:
Yuriy Pikhtarev 2017-05-05 00:58:11 +03:00 committed by Vasily Komrakov
commit 3fbd9580a5
No known key found for this signature in database
GPG key ID: 558236680C20A69A

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