Skip to content

Commit cb7a6e8

Browse files
committed
Updated to work on, and moved dependency to DNN 8+
1 parent 974febf commit cb7a6e8

File tree

18 files changed

+247
-300
lines changed

18 files changed

+247
-300
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,6 @@ Thumbs.db
216216
# Folder config file
217217
Desktop.ini
218218
Website/Install/Temp/
219+
__*
220+
bin/
221+
obj/

Components/Controls/Feed.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ Namespace Controls
245245
''' </history>
246246
Protected Function GetMappedPath(ByVal localPath As String) As String
247247
If Not (HttpContext.Current Is Nothing) Then
248-
Return PortalController.GetCurrentPortalSettings().HomeDirectoryMapPath + localPath
248+
Return PortalController.Instance.GetCurrentPortalSettings().HomeDirectoryMapPath + localPath
249249
Else
250250
Return CStr(System.Threading.Thread.GetDomain.GetData(".appPath")) & New PortalController().GetPortal(PortalId).HomeDirectory & "\" & localPath
251251
End If

Components/Entities/Feeds/FeedController.vb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Namespace Entities.Feeds
4747
''' </history>
4848
Public Shared Function GetFeed(ByVal FeedID As Integer, ByVal ModuleId As Integer) As FeedInfo
4949

50-
Return CType(DotNetNuke.Common.Utilities.CBO.FillObject(DataProvider.Instance().GetFeed(FeedID, ModuleId), GetType(FeedInfo)), FeedInfo)
50+
Return DotNetNuke.Common.Utilities.CBO.FillObject(Of FeedInfo)(DataProvider.Instance().GetFeed(FeedID, ModuleId))
5151

5252
End Function
5353

0 commit comments

Comments
 (0)