Verified Commit b7d6c904 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(systems) Remove call to set_object_info

Also removed useless $dialog protected boolean.

issue #6005
Showing with 0 additions and 13 deletions
+0 -13
...@@ -47,7 +47,6 @@ class servicesManagement extends management implements SimpleTab ...@@ -47,7 +47,6 @@ class servicesManagement extends management implements SimpleTab
protected $plugins = []; protected $plugins = [];
protected $current = ''; protected $current = '';
protected $dialog = FALSE;
protected $backup = NULL; protected $backup = NULL;
var $read_only = FALSE; var $read_only = FALSE;
...@@ -266,7 +265,6 @@ class servicesManagement extends management implements SimpleTab ...@@ -266,7 +265,6 @@ class servicesManagement extends management implements SimpleTab
if ($this->plugins[$s_entry]->acl_is_readable('')) { if ($this->plugins[$s_entry]->acl_is_readable('')) {
$this->backup = get_object_vars($this->plugins[$s_entry]); $this->backup = get_object_vars($this->plugins[$s_entry]);
$this->dialogObject = $this->plugins[$s_entry]; $this->dialogObject = $this->plugins[$s_entry];
$this->dialog = TRUE;
$this->current = $s_entry; $this->current = $s_entry;
} }
} }
...@@ -301,7 +299,6 @@ class servicesManagement extends management implements SimpleTab ...@@ -301,7 +299,6 @@ class servicesManagement extends management implements SimpleTab
$this->plugins[$serv]->is_account = TRUE; $this->plugins[$serv]->is_account = TRUE;
$this->dialogObject = $this->plugins[$serv]; $this->dialogObject = $this->plugins[$serv];
$this->current = $serv; $this->current = $serv;
$this->dialog = TRUE;
} }
/*! \brief Save the currently edited service. /*! \brief Save the currently edited service.
...@@ -322,16 +319,6 @@ class servicesManagement extends management implements SimpleTab ...@@ -322,16 +319,6 @@ class servicesManagement extends management implements SimpleTab
} }
} }
/*!\brief Close all opened dialogs
* And reset "dialog open" flags to display bottom buttons again.
*/
function closeDialogs ()
{
parent::closeDialogs();
$this->dialog = FALSE;
set_object_info($this->dn);
}
/*! \brief Remove the selected service(s) /*! \brief Remove the selected service(s)
*/ */
function removeService (array $action) function removeService (array $action)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment