Skip to content

Commit 8d0563d

Browse files
committed
bump to yaf 3.2.8
1 parent 47f2c40 commit 8d0563d

File tree

6 files changed

+34
-14
lines changed

6 files changed

+34
-14
lines changed

yaf_dnn/Components/Integration/RoleStore.cs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,20 @@ public virtual Task UpdateAsync(AspNetRoles role)
123123
}
124124

125125
/// <summary>
126-
/// The dispose.
126+
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
127127
/// </summary>
128-
public virtual void Dispose()
128+
public void Dispose()
129129
{
130-
// No resource to dispose for now!
130+
Dispose(true);
131+
GC.SuppressFinalize(this);
132+
}
133+
134+
/// <summary>
135+
/// Releases unmanaged and - optionally - managed resources.
136+
/// </summary>
137+
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
138+
protected virtual void Dispose(bool disposing)
139+
{
140+
// Cleanup
131141
}
132142
}

yaf_dnn/Components/Integration/SendMail.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void Send(MailMessage mailMessage)
101101
/// <param name="messages">The messages.</param>
102102
public void SendAll(IEnumerable<MailMessage> messages)
103103
{
104-
var mailMessages = messages as IList<MailMessage> ?? messages.ToList();
104+
var mailMessages = messages as IList<MailMessage> ?? [.. messages];
105105

106106
mailMessages.ForEach(
107107
mailMessage =>

yaf_dnn/Components/Integration/Sitemap.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ public class Sitemap : SitemapProvider
4040
/// Get the Sitemap URLs.
4141
/// </summary>
4242
/// <param name="portalId">The portal id.</param>
43-
/// <param name="portalSettings">The portal settings.</param>
43+
/// <param name="ps">The portal settings.</param>
4444
/// <param name="version">The version.</param>
4545
/// <returns>
4646
/// The List with URLs.
4747
/// </returns>
48-
public override List<SitemapUrl> GetUrls(int portalId, PortalSettings portalSettings, string version)
48+
public override List<SitemapUrl> GetUrls(int portalId, PortalSettings ps, string version)
4949
{
5050
var urls = new List<SitemapUrl>();
5151

yaf_dnn/Components/Integration/UserStore.cs

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,10 +225,21 @@ public virtual Task UpdateAsync(AspNetUsers user)
225225
}
226226

227227
/// <summary>
228-
/// The dispose.
228+
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
229229
/// </summary>
230-
public virtual void Dispose()
230+
public void Dispose()
231231
{
232+
Dispose(true);
233+
GC.SuppressFinalize(this);
234+
}
235+
236+
/// <summary>
237+
/// Releases unmanaged and - optionally - managed resources.
238+
/// </summary>
239+
/// <param name="disposing"><c>true</c> to release both managed and unmanaged resources; <c>false</c> to release only unmanaged resources.</param>
240+
protected virtual void Dispose(bool disposing)
241+
{
242+
// Cleanup
232243
}
233244

234245
/// <summary>

yaf_dnn/GlobalUsings.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
global using YAF.DotNetNuke.Components.Utils;
4444
global using YAF.DotNetNuke.Extensions;
4545
global using YAF.DotNetNuke.Models;
46-
global using YAF.Types;
4746
global using YAF.Types.Attributes;
4847
global using YAF.Types.Constants;
4948
global using YAF.Types.Extensions;

yaf_dnn/Installation/YAF.DotNetNuke.Module.dnn

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="YetAnotherForumDotNet" type="Module" version="03.27.006135">
3+
<package name="YetAnotherForumDotNet" type="Module" version="03.28.006136">
44
<friendlyName>YAF.NET Forums</friendlyName>
55
<description>
66
&lt;strong&gt;YetAnotherForum.NET&lt;/strong&gt; as DNN Module. Yet Another Forum.NET (YAF) is an open source ASP.NET forum system.&lt;br /&gt;
@@ -78,7 +78,7 @@
7878
03.22.006130,
7979
03.23.006131,
8080
03.24.006132,
81-
03.25.006133,03.26.006134,03.27.006135
81+
03.25.006133,03.26.006134,03.27.006135,03.28.006136
8282
</upgradeVersionsList>
8383
</attributes>
8484
</eventMessage>
@@ -524,7 +524,7 @@
524524
</component>
525525
</components>
526526
</package>
527-
<package name="YAF.WhatsNew" type="Module" version="03.27.006135">
527+
<package name="YAF.WhatsNew" type="Module" version="03.28.006136">
528528
<friendlyName>YAF.NET Forums What's New</friendlyName>
529529
<description>
530530
&lt;p&gt;This Module displays the Latest Posts from a &lt;strong&gt;YetAnotherForum.NET&lt;/strong&gt; Module. Based on the Current Users Authorization Level. You can define Which Forum should been used, and how many Posts should displayed.
@@ -589,7 +589,7 @@
589589
03.00.006100,03.13.006107,03.15.006109,03.15.006110,03.15.006111,03.16.006112,03.16.006118,03.17.006119,03.18.006120,
590590
03.19.006121,03.19.006122,03.19.006123,03.19.006124,03.19.006125,03.19.006126,03.19.006127,
591591
03.20.006128,03.21.006129,03.22.006130,03.23.006131,03.24.006132,
592-
03.25.006133,03.26.006134,03.27.006135
592+
03.25.006133,03.26.006134,03.27.006135,03.28.006136
593593
</upgradeVersionsList>
594594
</attributes>
595595
</eventMessage>
@@ -629,7 +629,7 @@
629629
</component>
630630
</components>
631631
</package>
632-
<package name="bootstrap-bundle" type="JavaScript_Library" version="05.33.106135">
632+
<package name="bootstrap-bundle" type="JavaScript_Library" version="05.33.106136">
633633
<friendlyName>Bootstrap v5.3.3 JavaScript Bundle (width Popper.js)</friendlyName>
634634
<description>
635635
<![CDATA[<p>Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by <a href="http://twitter.com/mdo">Mark Otto</a> and <a href="http://twitter.com/fat">Jacob Thornton</a>.</p>

0 commit comments

Comments
 (0)