Removing unecessary check - permissions are being validated by dynamic compilation.

--HG--
branch : 1.x
This commit is contained in:
Andre Rodrigues
2011-01-11 13:15:33 -08:00
parent fa162c7ac8
commit 4ea1b37122

View File

@@ -27,14 +27,6 @@ namespace Orchard.Setup.Controllers {
public Localizer T { get; set; }
private ActionResult IndexViewResult(SetupViewModel model) {
string message;
if (!CanWriteToAppDataFolder(out message)) {
_notifier.Error(
T(
"Hey, it looks like I can't write to the App_Data folder in the root of this application and that's where I need to save some of the information you're about to enter.\r\n\r\nPlease give me (the machine account this application is running under) write access to App_Data so I can get this app all set up for you.\r\n\r\nThanks!\r\n\r\n----\r\n{0}",
message));
}
return View(model);
}