Remove subclassed methods validParent and addChild from GalleryFile and Gallery.
This commit is contained in:
parent
ef89051084
commit
cd0fbf8ecb
2 changed files with 0 additions and 41 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue