Skip to content

Commit

Permalink
There's no need to special case Posts in Account/Contributions. The v…
Browse files Browse the repository at this point in the history
…iew method referes you to the Thread, and if a user has multiple posts in a thread, it links to the Thread multiple times. Also, this fixes bug #11622.
  • Loading branch information
perlDreamer committed Jun 15, 2010
1 parent 9587398 commit 541f262
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions docs/changelog/7.x.x.txt
@@ -1,6 +1,7 @@
7.8.22
- fixed #11619: Trash Expired Events not trashing events
- fixed #11623: Navigation CSS-id
- fixed #11622: Archived CSS entries displayable.

7.8.21
- fixed #11597: manageTrash and newlines
Expand Down
6 changes: 0 additions & 6 deletions lib/WebGUI/Account/Contributions.pm
Expand Up @@ -200,12 +200,6 @@ sub www_view {
my $asset = WebGUI::Asset->newByDynamicClass( $session, $assetId );
my $props = $asset->get;
$props->{url} = $asset->getUrl;
if (ref $asset eq "WebGUI::Asset::Post") {
$asset = $asset->getThread;
$props = $asset->get;
$props->{className} = "WebGUI::Asset::Post";
}

push(@contribs,$props);
}
my $contribsCount = $p->getRowCount;
Expand Down

0 comments on commit 541f262

Please sign in to comment.