processPropertiesFromFormPost to processEditForm

This commit is contained in:
Doug Bell 2010-05-03 16:33:06 -05:00
parent ad96c88a36
commit 3c17dafeb4
32 changed files with 154 additions and 169 deletions

View file

@ -982,7 +982,6 @@ sub duplicateBranch {
Add a tab for the mail interface.
=cut
sub getEditTabs {
my $self = shift;
@ -990,6 +989,8 @@ sub getEditTabs {
return ($self->next::method, ['mail', $i18n->get('mail'), 9]);
}
=cut
#-------------------------------------------------------------------
=head2 getNewThreadUrl( )
@ -1389,7 +1390,7 @@ sub prepareView {
#-------------------------------------------------------------------
=head2 processPropertiesFromFormPost
=head2 processEditForm
Extend the base method to handle creating subscription groups, propagating
group privileges to all descendants and clearing scratch variables for sort key
@ -1397,7 +1398,7 @@ and direction.
=cut
sub processPropertiesFromFormPost {
sub processEditForm {
my $self = shift;
my $updatePrivs = ($self->session->form->process("groupIdView") ne $self->groupIdView || $self->session->form->process("groupIdEdit") ne $self->groupIdEdit);
$self->next::method;