diff --git a/src/Umbraco.Core/Models/ContentExtensions.cs b/src/Umbraco.Core/Models/ContentExtensions.cs
index 49d62db1bf..3715b1468f 100644
--- a/src/Umbraco.Core/Models/ContentExtensions.cs
+++ b/src/Umbraco.Core/Models/ContentExtensions.cs
@@ -618,7 +618,7 @@ namespace Umbraco.Core.Models
/// Xml representation of the passed in
internal static XElement ToDeepXml(this IContent content)
{
- return ApplicationContext.Current.Services.PackagingService.Export(content, true);
+ return ApplicationContext.Current.Services.PackagingService.Export(content, true, raiseEvents: false);
}
///
@@ -628,7 +628,7 @@ namespace Umbraco.Core.Models
/// Xml representation of the passed in
public static XElement ToXml(this IContent content)
{
- return ApplicationContext.Current.Services.PackagingService.Export(content);
+ return ApplicationContext.Current.Services.PackagingService.Export(content, raiseEvents: false);
}
///
@@ -638,7 +638,7 @@ namespace Umbraco.Core.Models
/// Xml representation of the passed in
public static XElement ToXml(this IMedia media)
{
- return ApplicationContext.Current.Services.PackagingService.Export(media);
+ return ApplicationContext.Current.Services.PackagingService.Export(media, raiseEvents: false);
}
///
@@ -648,7 +648,7 @@ namespace Umbraco.Core.Models
/// Xml representation of the passed in
internal static XElement ToDeepXml(this IMedia media)
{
- return ApplicationContext.Current.Services.PackagingService.Export(media, true);
+ return ApplicationContext.Current.Services.PackagingService.Export(media, true, raiseEvents: false);
}
///
diff --git a/src/Umbraco.Core/Services/PackagingService.cs b/src/Umbraco.Core/Services/PackagingService.cs
index 851420fa61..92b44e8d3e 100644
--- a/src/Umbraco.Core/Services/PackagingService.cs
+++ b/src/Umbraco.Core/Services/PackagingService.cs
@@ -1345,7 +1345,6 @@ namespace Umbraco.Core.Services
xml.Add(new XAttribute("loginName", member.Username));
xml.Add(new XAttribute("email", member.Email));
- xml.Add(new XAttribute("key", member.Key));
return xml;
}