From: Vincent Vanwaelscappel Date: Wed, 15 Oct 2025 11:17:53 +0000 (+0200) Subject: wait #7646 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=587544fb18c2dba039ca311dcce2ff60836b8708;p=fluidbook-toolbox.git wait #7646 @0.25 --- diff --git a/app/Console/Commands/DSNCheck.php b/app/Console/Commands/DSNCheck.php index 562284691..aec98878c 100644 --- a/app/Console/Commands/DSNCheck.php +++ b/app/Console/Commands/DSNCheck.php @@ -32,7 +32,7 @@ class DSNCheck extends ToolboxCommand } else { $ok = false; foreach ($s->depots->declarant->depot as $sub) { - if ($sub->statut !== 'OK') { + if ($sub->statut === 'OK') { $ok = true; continue; } @@ -55,12 +55,11 @@ class DSNCheck extends ToolboxCommand $notify, [], ); - dd($notify); - } else if ($day == 10) { + } else if ($day >= 10) { Mattermost::send(self::MATTERMOST_CHANNEL, - ':green_circle: DSN OK', + ':large_green_circle: DSN OK', '', - false, + [], ); }