Temporary fix for the Calendar for now.

This commit is contained in:
Colin Kuskie 2010-04-08 17:29:13 -07:00
parent f56bac9948
commit e0b5f79d6d

View file

@ -450,7 +450,7 @@ the calendar, or the group that can edit events in the calendar).
=cut
override canAddEvent => sub {
sub canAddEvent {
my $self = shift;
my $userId = shift;
@ -461,9 +461,9 @@ override canAddEvent => sub {
return 1 if (
$user->isInGroup( $self->groupIdEventEdit )
|| super();
|| $self->SUPER::canEdit($userId)
);
};
}
#----------------------------------------------------------------------------