Make version tags mandatory again.
This commit is contained in:
parent
d0b3be1749
commit
4bfabb9469
94 changed files with 405 additions and 489 deletions
|
|
@ -91,8 +91,7 @@ sub www_rotateSave {
|
|||
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->rotate($asset->filename,$session->form->process("Rotate"));
|
||||
$asset->setSize($asset->getStorageLocation->getFileSize($asset->filename));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue