Skip to content

Commit 1764275

Browse files
Remove AllowToReadLetsEncryptFile property and logic
1 parent eb7ed25 commit 1764275

File tree

5 files changed

+0
-56
lines changed

5 files changed

+0
-56
lines changed

src/Core/Grand.Domain/Common/CommonSettings.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,4 @@ public class CommonSettings : ISettings
3939
/// Gets or sets to edit product where auction ended
4040
/// </summary>
4141
public bool AllowEditProductEndedAuction { get; set; }
42-
43-
/// <summary>
44-
/// Gets or sets - allow user to read "let's encrypted file"
45-
/// </summary>
46-
public bool AllowToReadLetsEncryptFile { get; set; }
4742
}

src/Web/Grand.Web.Admin/Areas/Admin/Views/Setting/Partials/GeneralCommon.TabStoreInformationSettings.cshtml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -253,18 +253,6 @@
253253
<span asp-validation-for="CommonSettings.UseSystemEmailForContactUsForm"></span>
254254
</div>
255255
</div>
256-
<div class="form-group">
257-
<div class="col-8 col-md-4 col-sm-4 text-right">
258-
<admin-label asp-for="CommonSettings.AllowToReadLetsEncryptFile" class="control-label"/>
259-
</div>
260-
<div class="col-4 col-md-8 col-sm-8">
261-
<label class="mt-checkbox mt-checkbox-outline control control-checkbox">
262-
<admin-input asp-for="CommonSettings.AllowToReadLetsEncryptFile"/>
263-
<div class="control__indicator"></div>
264-
</label>
265-
<span asp-validation-for="CommonSettings.AllowToReadLetsEncryptFile"></span>
266-
</div>
267-
</div>
268256
<div class="form-group">
269257
<div class="col-8 col-md-4 col-sm-4 text-right">
270258
<admin-label asp-for="CommonSettings.AllowToSelectStore" class="control-label"/>

src/Web/Grand.Web.Admin/Models/Settings/GeneralCommonSettingsModel.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ public class CommonSettingsModel : BaseModel
9494
[GrandResourceDisplayName("Admin.Settings.GeneralCommon.UseSystemEmailForContactUsForm")]
9595
public bool UseSystemEmailForContactUsForm { get; set; }
9696

97-
[GrandResourceDisplayName("Admin.Settings.GeneralCommon.AllowToReadLetsEncryptFile")]
98-
public bool AllowToReadLetsEncryptFile { get; set; }
99-
10097
[GrandResourceDisplayName("Admin.Settings.GeneralCommon.AllowToSelectStore")]
10198
public bool AllowToSelectStore { get; set; }
10299

src/Web/Grand.Web/App_Data/Resources/DefaultLanguage.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10107,9 +10107,6 @@
1010710107
<Resource Name="Admin.Settings.GeneralCommon.AllowSlashChar" Area="Admin">
1010810108
<Value>Allow to use slash char</Value>
1010910109
</Resource>
10110-
<Resource Name="Admin.Settings.GeneralCommon.AllowToReadLetsEncryptFile" Area="Admin">
10111-
<Value>Allow to read Let's Encrypt file</Value>
10112-
</Resource>
1011310110
<Resource Name="Admin.Settings.GeneralCommon.AllowToSelectAdminTheme" Area="Admin">
1011410111
<Value>Allow to select admin theme</Value>
1011510112
</Resource>

src/Web/Grand.Web/Controllers/LetsEncryptController.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)