Skip to content

Commit dccd199

Browse files
committed
Updated Courier
1 parent b6b1e61 commit dccd199

File tree

5 files changed

+4
-8
lines changed

5 files changed

+4
-8
lines changed

lib/Umbraco.Courier.Core.dll

42 KB
Binary file not shown.

lib/Umbraco.Courier.DataResolvers.dll

31.5 KB
Binary file not shown.

lib/Umbraco.Courier.Providers.dll

11.5 KB
Binary file not shown.

src/RJP.MultiUrlPicker.Courier/MultiUrlPickerDataResolverProvider.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
namespace RJP.MultiUrlPicker.Courier
22
{
3-
#region Usings
4-
53
using System;
64

75
using Newtonsoft.Json;
@@ -11,8 +9,6 @@
119
using Umbraco.Courier.DataResolvers;
1210
using Umbraco.Courier.ItemProviders;
1311

14-
#endregion
15-
1612
public class MultiUrlPickerDataResolverProvider : PropertyDataResolverProvider
1713
{
1814
public override string EditorAlias
@@ -34,7 +30,7 @@ public override void PackagingProperty(Item item, ContentProperty propertyData)
3430
{
3531
if (link.id != null)
3632
{
37-
link.id = PersistenceManager.Default.GetUniqueId(
33+
link.id = ExecutionContext.DatabasePersistence.GetUniqueId(
3834
(int)link.id,
3935
link.isMedia != null ? NodeObjectTypes.Media : NodeObjectTypes.Document);
4036
}
@@ -55,7 +51,7 @@ public override void ExtractingProperty(Item item, ContentProperty propertyData)
5551
{
5652
if (link.id != null)
5753
{
58-
link.id = PersistenceManager.Default.GetNodeId(
54+
link.id = ExecutionContext.DatabasePersistence.GetNodeId(
5955
(Guid)link.id,
6056
link.isMedia != null ? NodeObjectTypes.Media : NodeObjectTypes.Document);
6157
}

src/RJP.MultiUrlPicker.Courier/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.1.0.0")]
36-
[assembly: AssemblyFileVersion("0.1.0.0")]
35+
[assembly: AssemblyVersion("0.2.0.0")]
36+
[assembly: AssemblyFileVersion("0.2.0.0")]

0 commit comments

Comments
 (0)