Skip to content

Commit

Permalink
Drop code that never runs in CollectionList
Browse files Browse the repository at this point in the history
The condition "if (!$Collection)" above includes the case.
  • Loading branch information
sunnavy committed Jan 12, 2024
1 parent bdad557 commit 3332d26
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions share/html/Elements/CollectionList
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ if (!$Collection) {
}
$Collection->FromSQL($Query);
}
elsif (!$Collection && $Class eq 'RT::Assets') {
$Collection = RT::Assets->new( $session{'CurrentUser'} );
$Collection->FromSQL($Query);
}

# flip HasResults from undef to 0 to indicate there was a search, so
# dashboard mail can be suppressed if there are no results
Expand Down

0 comments on commit 3332d26

Please sign in to comment.