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

Testing the right class in dashboard

Showing with 1 addition and 1 deletion
+1 -1
...@@ -23,7 +23,7 @@ class tabs_dashboard extends simpleTabs_noSpecial ...@@ -23,7 +23,7 @@ class tabs_dashboard extends simpleTabs_noSpecial
function __construct($type, $dn, $copied_object = NULL) function __construct($type, $dn, $copied_object = NULL)
{ {
parent::__construct($type, $dn, $copied_object); parent::__construct($type, $dn, $copied_object);
if (!class_available('dhcpService') && !class_available('serviceDNS')) { if (!class_available('dhcpService') && !class_available('dnsZone')) {
unset($this->by_object['dashboardNetwork']); unset($this->by_object['dashboardNetwork']);
unset($this->by_name['dashboardNetwork']); unset($this->by_name['dashboardNetwork']);
} }
......
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