Remove the skipNotification column for the Subscribably aspect.

The duplication caused it to be impossible to turn off notifications,
which caused the WikiPage test to fail since there was no template
defined for sending notifications.
This commit is contained in:
Colin Kuskie 2009-11-04 15:19:54 -08:00
parent f9d97f2ce7
commit 869ee404e7
3 changed files with 14 additions and 27 deletions

View file

@ -44,11 +44,6 @@ sub definition {
label => $i18n->get("Email Template"),
hoverHelp => $i18n->get("Email Template help"),
},
skipNotification => {
autoGenerate => 0,
noFormPost => 1,
fieldType => 'yesNo',
},
);
push @{ $definition }, {
@ -441,27 +436,6 @@ sub purge {
#----------------------------------------------------------------------------
=head2 setSkipNotification ( )
Set a flag so that this asset does not send out notifications for this
revision.
=cut
sub setSkipNotification {
my $self = shift;
my $value = shift;
$value = defined $value ? $value : 1;
$self->update( {
skipNotification => $value,
} );
return;
}
#----------------------------------------------------------------------------
=head2 shouldSkipNotification ( )
Returns true if the asset should skip notifications.