Skip to content

Commit a7b48d4

Browse files
authored
cron1drapport
1 parent 82fbd85 commit a7b48d4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

core/class/enphasesecur.class.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ public static function enphasesecurCron1d(){
263263
}
264264

265265
public static function enphasesecurCron1drapport(){
266-
266+
if (config::byKey('G1', __CLASS__) == true || config::byKey('G1', __CLASS__) == true ||config::byKey('G1', __CLASS__) == true || config::byKey('G1', __CLASS__) == true)
267+
{
267268
$cumul1 =0;
268269
$cumul1b =0;
269270
$cumul2 =0;
@@ -391,7 +392,7 @@ public static function enphasesecurCron1drapport(){
391392

392393
}
393394
}
394-
395+
}
395396
}
396397

397398
//création des crons pour les onduleurs WH et init cumul export import

docs/fr_FR/changelog_beta.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
>
55
>S'il n'y a pas d'information sur la mise à jour, c'est que celle-ci concerne uniquement de la mise à jour de documentation, de traduction ou de texte.
66
7+
# 30/11/2024
8+
Inhibition du cron rapport si l'utiliusateur a bidouillé sa config et avait activé précédement les rapports
79

810
# 31/08/2024
911
Correction message groupe si ils sont décochés uniquement dans la config du plugin

0 commit comments

Comments
 (0)