Commit fef43ca7 authored by Côme Bernigaud's avatar Côme Bernigaud Committed by Benoit Mortier
Browse files

Fixes: 2642 Removed objectName from simpleManagement

parent 79ef5d60
......@@ -21,7 +21,6 @@
class dsaManagement extends simpleManagement
{
// Tab definition
protected $objectName = "dsa";
protected $objectTypes = array('simpleSecurityObject');
protected $departmentBrowser = TRUE;
......
......@@ -22,7 +22,6 @@
class netgroupManagement extends simpleManagement
{
// Tab definition
protected $objectName = "netgroup";
protected $objectTypes = array('netgroup');
protected $departmentBrowser = TRUE;
......
......@@ -20,20 +20,12 @@
class opsiManagement extends simpleManagement
{
// Tab definition
protected $objectName = "opsi";
protected $objectTypes = array('opsiProfile', 'opsiSoftwareList');//, 'opsiOnDemandList');
protected $departmentBrowser = FALSE;
protected $departmentRootVisible = FALSE;
protected $baseMode = FALSE;
function __construct($config, $ui)
{
$this->acl_base = $config->current['BASE'];
parent::__construct($config, $ui);
$this->headpage->setBase($this->acl_base); // May be done by simpleManagement when departementBrowser is FALSE?
}
/* Return plugin informations for acl handling */
static function plInfo()
{
......
......@@ -21,7 +21,6 @@
class repositoryManagement extends simpleManagement
{
// Tab definition
protected $objectName = 'repository';
protected $objectTypes = array('buildRepository', 'repoDistribution', 'repoSection');
protected $departmentBrowser = TRUE;
......
......@@ -21,7 +21,6 @@
class sogoManagement extends simpleManagement
{
// Tab definition
protected $objectName = 'sogo';
protected $objectTypes = array('sogoResource');
protected $departmentBrowser = TRUE;
......
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