removed database factory, changed audit trail stuff to internal, not sure it needs to be public.
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Umbraco.Core.Persistence.UnitOfWork
|
||||
|
||||
public IDatabaseUnitOfWork GetUnitOfWork()
|
||||
{
|
||||
return new PetaPocoUnitOfWork(DatabaseFactory.Current.Database);
|
||||
return new PetaPocoUnitOfWork(DatabaseContext.Current.Database);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user