From b954a589af9ab223d0fd8dd2f665ed0334f58499 Mon Sep 17 00:00:00 2001 From: dmd Date: Thu, 14 Jul 2016 14:58:57 +0300 Subject: [PATCH] use shell website instead context site for restore mongo --- .../Installer/code/MongoRestore/MongoRestoreService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Foundation/Installer/code/MongoRestore/MongoRestoreService.cs b/src/Foundation/Installer/code/MongoRestore/MongoRestoreService.cs index 7feb88a93e..bdd20d5726 100644 --- a/src/Foundation/Installer/code/MongoRestore/MongoRestoreService.cs +++ b/src/Foundation/Installer/code/MongoRestore/MongoRestoreService.cs @@ -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); }