EditAlbum: drop old thumbnail id field entirely
This commit is contained in:
parent
2b8b12e065
commit
c9da46b36f
@ -81,11 +81,6 @@ class EditAlbum extends HTMLController
|
||||
'label' => 'Parent album',
|
||||
'options' => $parentChoices,
|
||||
],
|
||||
'id_asset_thumb' => [
|
||||
'type' => 'numeric',
|
||||
'label' => 'Thumbnail asset ID',
|
||||
'is_optional' => true,
|
||||
],
|
||||
'tag' => [
|
||||
'type' => 'text',
|
||||
'label' => 'Album title',
|
||||
@ -115,9 +110,6 @@ class EditAlbum extends HTMLController
|
||||
'limit' => 500,
|
||||
'id_tag' => $id_tag,
|
||||
], true);
|
||||
|
||||
if ($num_assets > 0)
|
||||
unset($fields['id_asset_thumb']);
|
||||
}
|
||||
|
||||
$this->form = new Form([
|
||||
|
Loading…
x
Reference in New Issue
Block a user