EditAlbum: drop old thumbnail id field entirely

This commit is contained in:
Aaron van Geffen 2025-09-24 12:30:22 +02:00
parent 2b8b12e065
commit c9da46b36f

View File

@ -81,11 +81,6 @@ class EditAlbum extends HTMLController
'label' => 'Parent album', 'label' => 'Parent album',
'options' => $parentChoices, 'options' => $parentChoices,
], ],
'id_asset_thumb' => [
'type' => 'numeric',
'label' => 'Thumbnail asset ID',
'is_optional' => true,
],
'tag' => [ 'tag' => [
'type' => 'text', 'type' => 'text',
'label' => 'Album title', 'label' => 'Album title',
@ -115,9 +110,6 @@ class EditAlbum extends HTMLController
'limit' => 500, 'limit' => 500,
'id_tag' => $id_tag, 'id_tag' => $id_tag,
], true); ], true);
if ($num_assets > 0)
unset($fields['id_asset_thumb']);
} }
$this->form = new Form([ $this->form = new Form([