2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 03:59:11 +00:00

98_Installer: disable addLinks

git-svn-id: https://svn.fhem.de/fhem/trunk@18900 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2019-03-14 16:40:21 +00:00
parent ec76ac5bad
commit 60653fc823

View File

@ -242,6 +242,7 @@ BEGIN {
InternalTimer
RemoveInternalTimer
LoadModule
FW_webArgs
)
);
}
@ -1041,6 +1042,9 @@ sub CreateMetadataList ($$$) {
my ( $hash, $getCmd, $modName ) = @_;
$modName = 'Global' if ( uc($modName) eq 'FHEM' );
# disable automatic links to FHEM devices
delete $FW_webArgs{addLinks};
return 'Unknown module ' . $modName
unless ( defined( $modules{$modName} ) );