diff --git a/src/umbraco.cms/businesslogic/Content.cs b/src/umbraco.cms/businesslogic/Content.cs
index ad9d992d07..0a10eb48c5 100644
--- a/src/umbraco.cms/businesslogic/Content.cs
+++ b/src/umbraco.cms/businesslogic/Content.cs
@@ -300,31 +300,10 @@ namespace umbraco.cms.businesslogic
/// The property with the given propertytype
public Property getProperty(PropertyType pt)
{
-
- //object o = SqlHelper.ExecuteScalar(
- // "select id from cmsPropertyData where versionId=@version and propertyTypeId=@propertyTypeId",
- // SqlHelper.CreateParameter("@version", this.Version),
- // SqlHelper.CreateParameter("@propertyTypeId", pt.Id));
- //if (o == null)
- // return null;
- //int propertyId;
- //if (!int.TryParse(o.ToString(), out propertyId))
- // return null;
- //try
- //{
- // return new Property(propertyId, pt);
- //}
- //catch (Exception ex)
- //{
- // Log.Add(LogTypes.Error, this.Id, "An error occurred retreiving property. EXCEPTION: " + ex.Message);
- // return null;
- //}
-
EnsureProperties();
- var prop = m_LoadedProperties
- .Where(x => x.PropertyType.Id == pt.Id)
- .SingleOrDefault();
+ var prop = m_LoadedProperties.SingleOrDefault(x => x.PropertyType.Id == pt.Id);
+
return prop;
}
diff --git a/src/umbraco.cms/businesslogic/web/Document.cs b/src/umbraco.cms/businesslogic/web/Document.cs
index cdbb5c5c82..df9ee4b0a4 100644
--- a/src/umbraco.cms/businesslogic/web/Document.cs
+++ b/src/umbraco.cms/businesslogic/web/Document.cs
@@ -417,7 +417,7 @@ namespace umbraco.cms.businesslogic.web
d.OnNew(e);
// Log
- Log.Add(LogTypes.New, u, d.Id, "");
+ LogHelper.Info(string.Format("New document {0}", d.Id));
// Run Handler
umbraco.BusinessLogic.Actions.Action.RunActionHandlers(d, ActionNew.Instance);