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:
1 parent
ed708a24c3
commit
300c060be1
2 files changed
+2
-4
No files matched your search
@@ -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