Fix lots of syntax errors and bad definition configuration.

This commit is contained in:
Colin Kuskie 2010-03-03 16:32:57 -08:00
parent 814c2af249
commit 8f6c20d2f1
3 changed files with 8 additions and 6 deletions

View file

@ -10,11 +10,9 @@ package WebGUI::Asset::Wobject::GalleryAlbum;
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
#use Class::C3;
#use base qw(WebGUI::AssetAspect::RssFeed WebGUI::Asset::Wobject);
use Moose;
use WebGUI::Definition::Asset;
extends 'WebGUI::Asset::Wobject';
define assetName => ['assetName', 'Asset_GalleryAlbum'];
define icon => 'photoAlbum.gif';
define tableName => 'GalleryAlbum';
@ -43,6 +41,7 @@ for my $i ( 1 .. 5 ) {
}
with 'WebGUI::Role::Asset::AlwaysHidden';
with 'WebGUI::Role::Asset::RssFeed';
use Carp qw( croak );
use File::Find;