Skip to content

Commit

Permalink
6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
starlying committed Jan 6, 2019
1 parent d902506 commit 54aa25a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SiteServer.Web/Controllers/Pages/PagesMainController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using System.Threading.Tasks;
using System.Web;
using System.Web.Http;
using SiteServer.BackgroundPages;
using SiteServer.BackgroundPages.Cms;
using SiteServer.BackgroundPages.Settings;
using SiteServer.CMS.Api.Preview;
Expand Down Expand Up @@ -42,7 +43,6 @@ public IHttpActionResult GetConfig()
});
}

#if !DEBUG
if (ConfigManager.Instance.IsInitialized && ConfigManager.Instance.DatabaseVersion != SystemManager.Version)
{
return Ok(new
Expand All @@ -51,7 +51,6 @@ public IHttpActionResult GetConfig()
RedirectUrl = PageSyncDatabase.GetRedirectUrl()
});
}
#endif

if (!request.IsAdminLoggin || request.AdminInfo == null || request.AdminInfo.IsLockedOut)
{
Expand Down

0 comments on commit 54aa25a

Please sign in to comment.