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 2350cf2 commit e50c491
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/class/z2m.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,7 @@ public static function configure_z2m_deamon() {
if (!class_exists('mqtt2')) {
$plugin = plugin::byId('z2m');
$plugin->dependancy_install();
}
if (!class_exists('mqtt2')) {
throw new Exception(__("Plugin Mqtt Manager (mqtt2) non installé, veuillez l'installer avant de pouvoir continuer", __FILE__));
throw new Exception(__("Plugin Mqtt Manager (mqtt2) non installé, dépendance en cours pour corriger. Veuillez refaire la configuration dans quelques minutes", __FILE__));
}
self::postConfig_mqtt_topic();
$mqtt = mqtt2::getFormatedInfos();
Expand Down

0 comments on commit e50c491

Please sign in to comment.