Added userDefined fields to GalleryAlbum assets. Modified Gallery::Utility to migrate userDefined fields from Threads to GalleryAlbums. Added tests for the previous.

This commit is contained in:
Doug Bell 2008-01-07 22:38:59 +00:00
parent b6324d17a5
commit f56c0873d8
4 changed files with 63 additions and 4 deletions

View file

@ -63,6 +63,13 @@ sub definition {
},
);
# UserDefined Fields
for my $i (1 .. 5) {
$properties{"userDefined".$i} = {
defaultValue => undef,
};
}
push @{$definition}, {
assetName => $i18n->get('assetName'),
autoGenerateForms => 0,