Fixes 27460, Remove references to old umbracoStats code

Fixes 27109, Issue with GetMedia and the new schema
Implements 27473, GetMedia and GetMember caching in Umbraco.Library

[TFS Changeset #67795]
This commit is contained in:
hartvig
2010-06-10 19:47:25 +00:00
parent 9dccbea95d
commit 64f515f25d
7 changed files with 28 additions and 408 deletions

View File

@@ -226,18 +226,6 @@ namespace umbraco
umbPageHolder.Populate(m_umbPage);
}
// Stat
if (GlobalSettings.EnableStat)
{
if (Session["umbracoSessionId"] != null)
{
// If session just has been initialized we should use the cookie from the response object
if (Session["umbracoSessionId"] == null)
cms.businesslogic.stat.Session.AddEntry(new Guid(Session["umbracoSessionId"].ToString()), m_umbPage.PageID);
else
cms.businesslogic.stat.Session.AddEntry(new Guid(Session["umbracoSessionId"].ToString()), m_umbPage.PageID);
}
}
}
else
{