Skip to content

Commit

Permalink
Update z2m.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Feb 19, 2024
1 parent 1c4efc4 commit cbf93da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/z2m.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public static function convert_from_addr($_addr) {

public static function postConfig_mqtt_topic($_value = null) {
if (!class_exists('mqtt2')) {
throw new Exception(__("Plugin Mqtt Manager (mqtt2) non installé, veuillez l'installer avant de pouvoir continuer", __FILE__));
return;
}
if(method_exists('mqtt2','removePluginTopicByPlugin')){
mqtt2::removePluginTopicByPlugin(__CLASS__);
Expand Down

0 comments on commit cbf93da

Please sign in to comment.