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:
parent
ed708a24c3
commit
300c060be1
@ -19,9 +19,9 @@ class PluginMDMModule extends Module
|
|||||||
* @param int $id unique id.
|
* @param int $id unique id.
|
||||||
* @param array $data list of all actions.
|
* @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;
|
$this->server = (PLUGIN_MDM_SERVER_SSL ? 'https://' : 'http://') . PLUGIN_MDM_SERVER;
|
||||||
|
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
* Handles plugin registration.
|
* Handles plugin registration.
|
||||||
*/
|
*/
|
||||||
class PluginMDM extends Plugin {
|
class PluginMDM extends Plugin {
|
||||||
// Constructor
|
|
||||||
function PluginMDM(){}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called to initialize the plugin and register for hooks.
|
* Called to initialize the plugin and register for hooks.
|
||||||
|
Loading…
Reference in New Issue
Block a user