Skip to content

Commit

Permalink
Revert "feat: contact email change restart warning (#696)" (#697)
Browse files Browse the repository at this point in the history
This reverts commit c80e7a3.
  • Loading branch information
Crypta-Eve authored Jan 26, 2025
1 parent c80e7a3 commit d6440b5
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Http/Controllers/Configuration/SeatController.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,12 @@ public function postUpdateSettings(SeatSettings $request)
{

setting(['registration', $request->registration], true);
setting(['admin_contact', $request->admin_contact], true);
setting(['allow_tracking', $request->allow_tracking], true);
setting(['cleanup_data', $request->cleanup_data], true);
setting(['market_prices_region_id', $request->market_prices_region], true);
setting(['allow_user_character_unlink', $request->allow_user_character_unlink], true);

//check if we have changed the admin contact.
if ($request->admin_contact !== setting('admin_contact', true)){
setting(['admin_contact', $request->admin_contact], true);

return redirect()->back()
->with('warning', 'SeAT settings updated! Admin Contact has changed, please restart SeAT to apply this change!');
}

return redirect()->back()
->with('success', 'SeAT settings updated!');
}
Expand Down

0 comments on commit d6440b5

Please sign in to comment.