Move trash functions to Fork

This commit is contained in:
Paul Driver 2010-10-04 15:51:23 -07:00
parent e238f72278
commit 895ce37917
7 changed files with 257 additions and 151 deletions

View file

@ -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;