Skip to content

Commit

Permalink
Renamed "ReIndexingTables" to "ReIndexTables"
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiMaz committed Jun 12, 2018
1 parent a0c7d63 commit 2a78c0c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions src/Libraries/Nop.Services/Common/IMaintenanceService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public partial interface IMaintenanceService
string GetBackupPath(string backupFileName);

/// <summary>
/// Re-indexing database tables
/// Re-index database tables
/// </summary>
void ReIndexingTables();
void ReIndexTables();
}
}
4 changes: 2 additions & 2 deletions src/Libraries/Nop.Services/Common/MaintenanceService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ public virtual string GetBackupPath(string backupFileName)
}

/// <summary>
/// Re-indexing database tables
/// Re-index database tables
/// </summary>
public virtual void ReIndexingTables()
public virtual void ReIndexTables()
{
var commandText = $@"
DECLARE @TableName sysname
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13333,16 +13333,16 @@
<Value>{0} customers were deleted</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables">
<Value>Re-indexing database tables</Value>
<Value>Re-index database tables</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.Complete">
<Value>Re-indexing database tables complete</Value>
<Value>Re-indexing of database tables complete</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.Lable">
<Value>Modifies existing tables by rebuilding the index. When you execute re-indexing in a table, only the statistics associated with the indexes are updated. Automatic or manual statistics created in the table (instead of an index) are not updated.</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.Progress">
<Value>Processing re-indexing...</Value>
<Value>Re-indexing...</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.ReIndexNow">
<Value>Re-index</Value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,14 +224,14 @@ public virtual IActionResult BackupDatabase(MaintenanceModel model)

[HttpPost, ActionName("Maintenance")]
[FormValueRequired("re-index")]
public virtual IActionResult ReIndexingTables(MaintenanceModel model)
public virtual IActionResult ReIndexTables(MaintenanceModel model)
{
if (!_permissionService.Authorize(StandardPermissionProvider.ManageMaintenance))
return AccessDeniedView();

try
{
_maintenanceService.ReIndexingTables();
_maintenanceService.ReIndexTables();
SuccessNotification(_localizationService.GetResource("Admin.System.Maintenance.ReIndexTables.Complete"));
}
catch (Exception exc)
Expand Down
6 changes: 3 additions & 3 deletions upgradescripts/4.00-4.10 (under development)/upgrade.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1170,16 +1170,16 @@ set @resources='
<Value>Determines whether the link to all results should be displayed in the autocomplete search box. Displayed if the number of items found is greater than the displayed quantity in the autocomplete box.</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables">
<Value>Re-indexing database tables</Value>
<Value>Re-index database tables</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.Complete">
<Value>Re-indexing database tables complete</Value>
<Value>Re-indexing of database tables complete</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.Lable">
<Value>Modifies existing tables by rebuilding the index. When you execute re-indexing in a table, only the statistics associated with the indexes are updated. Automatic or manual statistics created in the table (instead of an index) are not updated.</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.Progress">
<Value>Processing re-indexing...</Value>
<Value>Re-indexing...</Value>
</LocaleResource>
<LocaleResource Name="Admin.System.Maintenance.ReIndexTables.ReIndexNow">
<Value>Re-index</Value>
Expand Down

0 comments on commit 2a78c0c

Please sign in to comment.