Commit 3235ee26 authored by Franco Fichtner's avatar Franco Fichtner

plugins: rename variable to better reflect its purpose

parent ecdcc4b7
......@@ -94,7 +94,7 @@ function plugins_syslog()
* Every <plugin>_interface should return a named array containing the interface unique identifier and properties.
*
*/
function plugins_interfaces($write_config = true)
function plugins_interfaces($write_allowed = true)
{
global $config;
......@@ -152,7 +152,7 @@ function plugins_interfaces($write_config = true)
}
// configuration changed, materialize
if ($write_config && $write_required) {
if ($write_allowed && $write_required) {
write_config();
}
}
......
Markdown is supported
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