Removes singleton reference

This commit is contained in:
Per Ploug
2015-06-02 22:03:30 +02:00
parent 8cdb34adb6
commit 882f866a5f

View File

@@ -69,7 +69,7 @@ namespace Umbraco.Web.Models.Mapping
dest.RemoveContentType(rem);
foreach(var a in add){
var add_ct = ApplicationContext.Current.Services.ContentTypeService.GetContentType(a);
var add_ct = applicationContext.Services.ContentTypeService.GetContentType(a);
if(add_ct != null)
dest.AddContentType(add_ct);
}