backing out fix.

This commit is contained in:
Matthew Wilson 2006-02-11 17:54:33 +00:00
parent e3b81ed09a
commit 795f17ffec

View file

@ -102,7 +102,6 @@ Unique hash identifier for a user. If not supplied, current user.
sub canEdit {
my $self = shift;
my $userId = shift || $self->session->user->userId;
return 0 if ($self->isLocked && !$self->canEditIfLocked);
if ($userId eq $self->get("ownerUserId")) {
return 1;
}