mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-09 10:16:36 +02:00
[ticket/15849] Stop using php4 constructors
PHPBB3-15849
This commit is contained in:
@@ -40,7 +40,7 @@ class phpbb_questionnaire_data_collector
|
||||
*
|
||||
* @param string
|
||||
*/
|
||||
function phpbb_questionnaire_data_collector($install_id)
|
||||
function __construct($install_id)
|
||||
{
|
||||
$this->install_id = $install_id;
|
||||
$this->providers = array();
|
||||
@@ -223,7 +223,7 @@ class phpbb_questionnaire_phpbb_data_provider
|
||||
*
|
||||
* @param array $config
|
||||
*/
|
||||
function phpbb_questionnaire_phpbb_data_provider($config)
|
||||
function __construct($config)
|
||||
{
|
||||
// generate a unique id if necessary
|
||||
if (empty($config['questionnaire_unique_id']))
|
||||
|
Reference in New Issue
Block a user