Port PHP4 style classes to PHP5
The next version of PHP will deprecated the PHP4 style classes. References: KW-99
This commit is contained in:
@ -19,9 +19,9 @@ class PluginMDMModule extends Module
|
||||
* @param int $id unique id.
|
||||
* @param array $data list of all actions.
|
||||
*/
|
||||
function PluginMDMModule($id, $data)
|
||||
function __construct($id, $data)
|
||||
{
|
||||
parent::Module($id, $data);
|
||||
parent::__construct($id, $data);
|
||||
|
||||
$this->server = (PLUGIN_MDM_SERVER_SSL ? 'https://' : 'http://') . PLUGIN_MDM_SERVER;
|
||||
|
||||
|
Reference in New Issue
Block a user