Put back the skipNotification property into Asset.
This commit is contained in:
parent
ff1cd9fad8
commit
43413fe75c
2 changed files with 7 additions and 1 deletions
|
|
@ -261,6 +261,12 @@ property tagId => (
|
|||
fieldType => 'guid',
|
||||
default => 0,
|
||||
);
|
||||
property skipNotification => (
|
||||
autoGenerate => 0,
|
||||
noFormPost => 1,
|
||||
fieldType => 'yesNo',
|
||||
);
|
||||
|
||||
has session => (
|
||||
is => 'ro',
|
||||
required => 1,
|
||||
|
|
|
|||
|
|
@ -456,7 +456,7 @@ Sets a flag so that developers know whether to send notifications out on certain
|
|||
sub setSkipNotification {
|
||||
my $self = shift;
|
||||
$self->session->db->write("update assetData set skipNotification=1 where assetId=? and revisionDate=?", [$self->getId, $self->get("revisionDate")]);
|
||||
$self->{_properties}->{skipNotification} = 1;
|
||||
$self->skipNotification(1);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue