From 38a722ec60b3e854652f84ddd10683fa8236308e Mon Sep 17 00:00:00 2001 From: Yuriy Pikhtarev Date: Fri, 5 May 2017 00:58:11 +0300 Subject: [PATCH] Deprecated constructor style. --- poll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poll.php b/poll.php index ef634e643..614cb21d0 100644 --- a/poll.php +++ b/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'];