U4-11546 [v7] Clean up to remove compiler warnings (#2823)
This commit is contained in:
committed by
Sebastiaan Janssen
parent
3a0c872587
commit
9cd2db5018
@@ -149,7 +149,7 @@ namespace umbraco.cms.businesslogic
|
||||
{
|
||||
_contentType = new ContentType(contentTypeId);
|
||||
}
|
||||
catch (Exception e)
|
||||
catch (Exception)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
@@ -809,4 +809,4 @@ namespace umbraco.cms.businesslogic
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,8 +25,6 @@ namespace umbraco.cms.businesslogic.packager.standardPackageActions
|
||||
|
||||
string documentName = xmlData.Attributes["documentName"].Value;
|
||||
|
||||
int parentDocid = 0;
|
||||
|
||||
web.Document[] rootDocs = web.Document.GetRootDocuments();
|
||||
|
||||
foreach (web.Document rootDoc in rootDocs)
|
||||
@@ -71,4 +69,4 @@ namespace umbraco.cms.businesslogic.packager.standardPackageActions
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user