Skip to content
This repository has been archived by the owner on Dec 6, 2019. It is now read-only.

Commit

Permalink
use shell website instead context site for restore mongo
Browse files Browse the repository at this point in the history
  • Loading branch information
dmd committed Jul 14, 2016
1 parent 9addef4 commit b954a58
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public bool IsRestored(string connectionName)

public Job StartRebuildAnalyticsIndexJob()
{
var options = new Sitecore.Jobs.JobOptions("Rebuild analytics index", "Indexing job", Context.Site.Name, this, "RebuildAnalyticsIndex");
var options = new Sitecore.Jobs.JobOptions("Rebuild analytics index", "Indexing job", "shell", this, "RebuildAnalyticsIndex");
return Sitecore.Jobs.JobManager.Start(options);
}

Expand Down

0 comments on commit b954a58

Please sign in to comment.