Skip to content

Commit

Permalink
Time-TimeStamp created hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharp38 committed Jun 21, 2024
1 parent 8e1814e commit 99a2bb2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/config/Abeille.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Abeille's static config file
*/

define('lastDbVersion', 20240618);
define('lastDbVersion', 20240621);
$in = "/tmp/AbeilleDeamonInput";
$resourcePath = realpath(__DIR__.'/../../resources');
define('wifiLink', '/tmp/zigateWifi'); // For WIFI: Socat output
Expand Down
1 change: 1 addition & 0 deletions docs/fr_FR/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Modèle d'équipement: Surcharge possible de 'request'.
- Interne: Cmd: execute() revu pour + de clareté.
- NodOn SIN-4-RS-20: Inversion du 'level' (2709).
- 'Time-TimeStamp': Caché à la création.

## 240618-BETA-5

Expand Down
5 changes: 3 additions & 2 deletions plugin_info/install.php
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ function updateConfigDB() {
* - Config DB: 'ab::zgChanX' => 'ab::gtwChanX'
* - 20240617: CANCELED >>> Cmd DB: Removed all 'Time-TimeStamp' info cmds.
*/
if (intval($dbVersion) < 20240618) {
if (intval($dbVersion) < 20240621) {
// 'config' DB updates
for ($gtwId = 1; $gtwId <= maxGateways; $gtwId++) {
renameConfigKey("ab::zgEnabled${gtwId}", "ab::gtwEnabled${gtwId}");
Expand Down Expand Up @@ -1227,7 +1227,7 @@ function updateConfigDB() {
}
}

// config::save('ab::dbVersion', '20240618', 'Abeille');
// config::save('ab::dbVersion', '20240621', 'Abeille');
}
} // End updateConfigDB()

Expand All @@ -1254,6 +1254,7 @@ function addCmdFromModel($eqId, $cmdModelName, $cmdName) {
$cmdLogic->setSubType($cmd['subType']);
$cmdLogic->setLogicalId($cmd['logicalId']);
$cmdLogic->setName($cmdName);
$cmdLogic->setIsVisible(0); // Hidden
$cmdLogic->save();
return true;
}
Expand Down

0 comments on commit 99a2bb2

Please sign in to comment.