2010-10-25 Junichi Satoh <junichi@rworks.jp>

* godmode/agentes/module_manager_editor_network.php: Added enterprise
	check before isModuleAdopt(). It is not in opensource version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
jsatoh 2010-10-25 02:30:46 +00:00
parent d70abfb645
commit 62b3005c43
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-10-25 Junichi Satoh <junichi@rworks.jp>
* godmode/agentes/module_manager_editor_network.php: Added enterprise
check before isModuleAdopt(). It is not in opensource version.
2010-10-22 Ramon Novoa <rnovoa@artica.es> 2010-10-22 Ramon Novoa <rnovoa@artica.es>
* include/styles/pandora_minimal.css, include/fgraph.php, * include/styles/pandora_minimal.css, include/fgraph.php,

View File

@ -13,7 +13,7 @@
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details. // GNU General Public License for more details.
enterprise_include_once('include/functions_policies.php'); $isFunctionPolicies = enterprise_include_once('include/functions_policies.php');
$disabledBecauseInPolicy = false; $disabledBecauseInPolicy = false;
$disabledTextBecauseInPolicy = ''; $disabledTextBecauseInPolicy = '';
@ -54,7 +54,7 @@ $snmp_versions['3'] = 'v. 3';
$data = array (); $data = array ();
$data[0] = __('SNMP community'); $data[0] = __('SNMP community');
$adopt = false; $adopt = false;
if (isset($id_agent_module)) { if ($isFunctionPolicies !== ENTERPRISE_NOT_HOOK && isset($id_agent_module)) {
$adopt = isModuleAdopt($id_agent_module); $adopt = isModuleAdopt($id_agent_module);
} }
if (!$adopt) { if (!$adopt) {