Changed conditions to put the constant last, so (x == false) instead of (false == x).

Code now conforms to project coding standards.
This commit is contained in:
Michiel van Oosterhout
2012-10-07 08:50:09 -02:00
parent c7c10b8ab6
commit 5c6a595e48
3 changed files with 3 additions and 3 deletions

View File

@@ -90,7 +90,7 @@ namespace umbraco.presentation.install
//if this is not an upgrade we will log in with the default user.
// It's not considered an upgrade if the ConfigurationStatus is missing or empty.
if (false == String.IsNullOrWhiteSpace(GlobalSettings.ConfigurationStatus))
if (String.IsNullOrWhiteSpace(GlobalSettings.ConfigurationStatus) == false)
{
try
{

View File

@@ -28,7 +28,7 @@ namespace umbraco.presentation.install.steps.Definitions
public override bool Completed()
{
if (false == String.IsNullOrWhiteSpace(GlobalSettings.ConfigurationStatus))
if (String.IsNullOrWhiteSpace(GlobalSettings.ConfigurationStatus) == false)
return true;
if (InstalledPackage.GetAllInstalledPackages().Count > 0)

View File

@@ -18,7 +18,7 @@ namespace umbraco.presentation.install
protected void Page_Load(object sender, System.EventArgs e)
{
// Display the Umbraco upgrade message if Umbraco is already installed
if (false == String.IsNullOrWhiteSpace(GlobalSettings.ConfigurationStatus))
if (String.IsNullOrWhiteSpace(GlobalSettings.ConfigurationStatus) == false)
{
ph_install.Visible = false;
ph_upgrade.Visible = true;