Changed null to NULL
This commit is contained in:
@@ -55,7 +55,7 @@ abstract class Host_Plugin_Plesk extends Host_Plugin {
|
||||
|
||||
protected function init() {
|
||||
$this->_loaded = FALSE;
|
||||
$this->xml = XML::factory(null,'plesk');
|
||||
$this->xml = XML::factory(NULL,'plesk');
|
||||
$this->packet = $this->xml->add_node('packet','',array('version'=>$this->protocol));
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@ abstract class Host_Plugin_Plesk extends Host_Plugin {
|
||||
|
||||
$response = $request->execute();
|
||||
|
||||
$result = XML::factory(null,'plesk',$response->body());
|
||||
$result = XML::factory(NULL,'plesk',$response->body());
|
||||
|
||||
if ($result->status->value() == 'ok')
|
||||
$this->_loaded = TRUE;
|
||||
|
Reference in New Issue
Block a user