Move trash functions to Fork
This commit is contained in:
parent
e238f72278
commit
895ce37917
7 changed files with 257 additions and 151 deletions
|
|
@ -212,7 +212,7 @@ copy.
|
|||
|
||||
sub duplicate {
|
||||
my $self = shift;
|
||||
my $newTemplate = $self->SUPER::duplicate;
|
||||
my $newTemplate = $self->SUPER::duplicate(@_);
|
||||
$newTemplate->update({isDefault => 0});
|
||||
if ( my $storageId = $self->get('storageIdExample') ) {
|
||||
my $newStorage = WebGUI::Storage->get( $self->session, $storageId )->copy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue