Remove subclassed methods validParent and addChild from GalleryFile and Gallery.

This commit is contained in:
Colin Kuskie 2010-04-19 10:21:57 -07:00
parent ef89051084
commit cd0fbf8ecb
2 changed files with 0 additions and 41 deletions

View file

@ -827,19 +827,6 @@ sub valid_parent_classes {
#----------------------------------------------------------------------------
=head2 validParent ( )
Override validParent to only allow GalleryAlbums to hold GalleryFiles.
=cut
sub validParent {
my ($class, $session) = @_;
return $session->asset->isa('WebGUI::Asset::Wobject::GalleryAlbum');
}
#----------------------------------------------------------------------------
=head2 view ( )
method called by the container www_view method.