Permalink
Browse files

Removed obsolete comment

file_can_view_bug_attachments does check for allow_view_own_attachments
  • Loading branch information...
1 parent a143371 commit 791b93656f82a9e591baf028c5673062f684ca3f @dregad dregad committed Aug 31, 2011
Showing with 0 additions and 2 deletions.
  1. +0 −2 core/columns_api.php
View
@@ -1064,8 +1064,6 @@ function print_column_attachment_count( $p_bug, $p_columns_target = COLUMNS_TARG
global $t_icon_path;
# Check for attachments
- # TODO: factor in the allow_view_own_attachments configuration option
- # instead of just using a global check.
$t_attachment_count = 0;
if( file_can_view_bug_attachments( $p_bug->id, null ) ) {
$t_attachment_count = file_bug_attachment_count( $p_bug->id );

0 comments on commit 791b936

Please sign in to comment.