backing out fix.
This commit is contained in:
parent
e3b81ed09a
commit
795f17ffec
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue