Skip to content

Commit 2fd4f74

Browse files
committedMar 11, 2012
Remove debug output.
1 parent d9bbc1f commit 2fd4f74

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎lib/WebGUI/Asset/Post.pm

-3
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,9 @@ Returns a boolean indicating whether the user can view the current post.
236236
sub canView {
237237
my $self = shift;
238238
my $userId = shift || $self->session->user->userId;
239-
$self->session->log->info( "$userId " . $self->status );
240239
if (($self->status eq "approved" || $self->status eq "archived") && $self->getThread->getParent->canView( $userId )) {
241-
$self->session->log->info( "CAN VIEW" );
242240
return 1;
243241
} elsif ($self->canEdit( $userId )) {
244-
$self->session->log->info( "CAN EDIT" );
245242
return 1;
246243
} else {
247244
return $self->getThread->getParent->canEdit( $userId );

0 commit comments

Comments
 (0)