Make version tags mandatory again.
This commit is contained in:
parent
d0b3be1749
commit
4bfabb9469
94 changed files with 405 additions and 489 deletions
|
|
@ -146,8 +146,7 @@ sub www_resizeSave {
|
|||
return $session->privilege->insufficient() unless $asset->canEdit;
|
||||
return $session->privilege->locked() unless $asset->canEditIfLocked;
|
||||
my $tag = WebGUI::VersionTag->getWorking($session);
|
||||
$asset = $asset->addRevision( { tagId => $tag->getId, status => "pending" } );
|
||||
$asset->setVersionLock;
|
||||
$asset = $asset->addRevision();
|
||||
delete $asset->{_storageLocation};
|
||||
$asset->getStorageLocation->resize(
|
||||
$asset->filename,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue