Skip to content

Commit 9a0eee8

Browse files
committed
revert testing variables
1 parent 6128765 commit 9a0eee8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/Helpers/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ public static function deprecationCheck(){
721721
// The check and message that the user is still using the deprecated version
722722
$deprecations = [
723723
'ms_teams_deprecated' => array(
724-
'check' => Str::contains(Setting::getSettings()->webhook_endpoint, 'workflows'),
724+
'check' => !Str::contains(Setting::getSettings()->webhook_endpoint, 'workflows'),
725725
'message' => 'The Microsoft Teams webhook URL being used will be deprecated Jan 31st, 2025. <a class="btn btn-primary" href="' . route('settings.slack.index') . '">Change your webhook endpoint</a>'),
726726
];
727727

app/Livewire/SlackSettingsForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function mount() {
8989
if($this->setting->webhook_endpoint != null && $this->setting->webhook_channel != null){
9090
$this->isDisabled= '';
9191
}
92-
if($this->webhook_selected === 'microsoft' && !$this->teams_webhook_deprecated) {
92+
if($this->webhook_selected === 'microsoft' && $this->teams_webhook_deprecated) {
9393
session()->flash('warning', 'The selected Microsoft Teams webhook URL will be deprecated Jan 31st, 2025. Please use a workflow URL. Microsofts Documentation on creating a workflow can be found <a href="https://support.microsoft.com/en-us/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498" target="_blank"> here.</a>');
9494
}
9595
}

0 commit comments

Comments
 (0)