mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-08-20 09:31:10 +08:00
Removing dead code.
--HG-- branch : 1.x
This commit is contained in:
parent
59ae14032d
commit
1fe8caec23
@ -97,19 +97,5 @@ namespace Orchard.Setup.Controllers {
|
||||
return IndexViewResult(model);
|
||||
}
|
||||
}
|
||||
|
||||
bool CanWriteToAppDataFolder(out string message) {
|
||||
try {
|
||||
_appDataFolder.CreateFile("_systemcheck.txt", "Communicator check one two one two");
|
||||
_appDataFolder.DeleteFile("_systemcheck.txt");
|
||||
|
||||
message = "";
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex) {
|
||||
message = ex.Message.Replace("_systemcheck.txt", "");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user