Fixes HasContent if there is actually no content (new install).

Fixes issue with TreeDefinitionCollection not initializing when accessing singleton... not sure how i overlooked that before. This fixes
issues with MNTP initialization and probably some other tree stuff.
Removes warning log in umbracomodule for not a document as this just takes up space in the log.
Fixes issue with logger that was logging 'Info' for our internal Debug calls.
This commit is contained in:
Shannon Deminick
2012-10-11 02:30:48 +05:00
parent 8e914e751c
commit ce4828d678
6 changed files with 675 additions and 682 deletions

View File

@@ -33,7 +33,7 @@ namespace Umbraco.Core.ObjectResolution
/// TODO: However, it would make much more sense to do this and would speed up the application plus this would make the GetById method much easier.
/// </remarks>
protected LegacyTransientObjectsResolver(IEnumerable<Type> refreshers)
: base(ObjectLifetimeScope.Transient) // false = new objects every time
: base(ObjectLifetimeScope.Transient) // new objects every time
{
foreach (var l in refreshers)
{