Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(policy): message not sent on cascaded creation of task
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry authored and DIOHz0r committed May 10, 2018
1 parent e2350b3 commit 1f81faf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion inc/mqtthandler.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ protected function publishFlyveManifest(\sskaje\mqtt\MQTT $mqtt, $message) {
$detectedVersion = isset($detectedVersion['version'])
? $detectedVersion['version']
: null;
echo "$detectedVersion | $actualVersion \n";
if ($actualVersion != $detectedVersion) {
$this->flyveManifestMissing = true;
$this->publishManifest($mqtt);
Expand Down
1 change: 0 additions & 1 deletion inc/policydeployapplication.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ public function pre_unapply($value, $itemtype, $itemId, PluginFlyvemdmNotifiable
'items_id_applied' => $notifiable->getID(),
'plugin_flyvemdm_policies_id' => $policyData->getID(),
'value' => $package->getField('package_name'),
'_silent' => true,
])) {
return false;
}
Expand Down
1 change: 0 additions & 1 deletion inc/policydeployfile.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ public function pre_unapply($value, $itemtype, $itemId, PluginFlyvemdmNotifiable
'items_id_applied' => $notifiable->getID(),
'plugin_flyvemdm_policies_id' => $policyData->getID(),
'value' => $value['destination'] . $file->getField('name'),
'_silent' => true,
])) {
return false;
}
Expand Down

0 comments on commit 1f81faf

Please sign in to comment.