mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
#11343 Fix api created modules
This commit is contained in:
parent
6a941f6cda
commit
c91a25d9cb
@ -203,9 +203,9 @@ if ($correctLogin === true) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'create_network_module':
|
// case 'create_network_module':
|
||||||
case 'create_plugin_module':
|
case 'create_plugin_module':
|
||||||
case 'create_data_module':
|
// case 'create_data_module':
|
||||||
case 'create_synthetic_module':
|
case 'create_synthetic_module':
|
||||||
case 'create_snmp_module':
|
case 'create_snmp_module':
|
||||||
case 'delete_module':
|
case 'delete_module':
|
||||||
@ -320,6 +320,7 @@ if ($correctLogin === true) {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
return false;
|
||||||
// Ignore.
|
// Ignore.
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user