diff --git a/lib/WebGUI/Asset/WikiPage.pm b/lib/WebGUI/Asset/WikiPage.pm index d39f1ed74..4d4b66940 100644 --- a/lib/WebGUI/Asset/WikiPage.pm +++ b/lib/WebGUI/Asset/WikiPage.pm @@ -11,12 +11,6 @@ package WebGUI::Asset::WikiPage; # ------------------------------------------------------------------- use strict; -#use Class::C3; -#use base qw( -# WebGUI::AssetAspect::Subscribable -# WebGUI::AssetAspect::Comments -# WebGUI::Asset -#); use Moose; use WebGUI::Definition::Asset; @@ -58,6 +52,8 @@ property isFeatured => ( ); with 'WebGUI::Role::Asset::AlwaysHidden'; +with 'WebGUI::AssetAspect::Subscribable'; +with 'WebGUI::AssetAspect::Comments'; use WebGUI::International; use WebGUI::Utility; diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index 1b0577416..415e971bd 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -461,8 +461,6 @@ use WebGUI::Paginator; use WebGUI::Utility; use WebGUI::Asset::Wobject; use WebGUI::Workflow::Cron; -#use Class::C3; -#use base qw(WebGUI::AssetAspect::RssFeed WebGUI::Asset::Wobject); #------------------------------------------------------------------- sub _computePostCount { diff --git a/lib/WebGUI/Asset/Wobject/Gallery.pm b/lib/WebGUI/Asset/Wobject/Gallery.pm index c60394db4..081864533 100644 --- a/lib/WebGUI/Asset/Wobject/Gallery.pm +++ b/lib/WebGUI/Asset/Wobject/Gallery.pm @@ -11,8 +11,6 @@ package WebGUI::Asset::Wobject::Gallery; #------------------------------------------------------------------- use strict; -#use Class::C3; -#use base qw(WebGUI::AssetAspect::RssFeed WebGUI::Asset::Wobject); use Moose; use WebGUI::Definition::Asset; extends 'WebGUI::Asset::Wobject'; @@ -322,7 +320,7 @@ property defaultFilesPerPage => ( label => [ 'defaultFilesPerPage label' , 'Asset_Gallery'], hoverHelp => [ 'defaultFilesPerPage description' , 'Asset_Gallery'], ); - +with 'WebGUI::AssetAspect::RssFeed'; use JSON; diff --git a/lib/WebGUI/Asset/Wobject/StoryArchive.pm b/lib/WebGUI/Asset/Wobject/StoryArchive.pm index 978083762..a43d8bec4 100644 --- a/lib/WebGUI/Asset/Wobject/StoryArchive.pm +++ b/lib/WebGUI/Asset/Wobject/StoryArchive.pm @@ -14,8 +14,6 @@ our $VERSION = "1.0.0"; use strict; -#use Class::C3; -#use base qw/WebGUI::AssetAspect::RssFeed WebGUI::Asset::Wobject/; use Moose; use WebGUI::Definition::Asset; extends 'WebGUI::Asset::Wobject'; @@ -97,6 +95,7 @@ property approvalWorkflowId => ( label => ['approval workflow', 'Asset_StoryArchive'], hoverHelp => ['approval workflow help', 'Asset_StoryArchive'], ); +with 'WebGUI::AssetAspect::RssFeed'; use WebGUI::International; use WebGUI::Utility; diff --git a/lib/WebGUI/Asset/Wobject/StoryTopic.pm b/lib/WebGUI/Asset/Wobject/StoryTopic.pm index 3f7b432e0..97aac9cc4 100644 --- a/lib/WebGUI/Asset/Wobject/StoryTopic.pm +++ b/lib/WebGUI/Asset/Wobject/StoryTopic.pm @@ -16,8 +16,6 @@ use strict; use Moose; use WebGUI::Definition::Asset; extends 'WebGUI::Asset::Wobject'; -#use Class::C3; -#use base qw/WebGUI::AssetAspect::RssFeed WebGUI::Asset::Wobject/; define assetName => ['assetName', 'Asset_StoryTopic']; define icon => 'storytopic.gif'; define tableName => 'StoryTopic'; @@ -51,6 +49,7 @@ property storyTemplateId => ( namespace => 'Story', default => 'TbDcVLbbznPi0I0rxQf2CQ', ); +with 'WebGUI::AssetAspect::RssFeed'; use WebGUI::International; diff --git a/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm b/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm index 93dc9fed1..40002d2fa 100644 --- a/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm +++ b/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm @@ -71,12 +71,10 @@ property hasTerms => ( maxlength => 255, ); -#use Class::C3; -#use base qw(WebGUI::AssetAspect::RssFeed WebGUI::Asset::Wobject); +with 'WebGUI::AssetAspect::RssFeed'; use WebGUI::Macro; use XML::FeedPP; - =head1 NAME Package WebGUI::Asset::Wobject::SyndicatedContent diff --git a/lib/WebGUI/Asset/Wobject/WikiMaster.pm b/lib/WebGUI/Asset/Wobject/WikiMaster.pm index ae997757f..56d4fb733 100644 --- a/lib/WebGUI/Asset/Wobject/WikiMaster.pm +++ b/lib/WebGUI/Asset/Wobject/WikiMaster.pm @@ -10,12 +10,6 @@ package WebGUI::Asset::Wobject::WikiMaster; # http://www.plainblack.com info@plainblack.com #------------------------------------------------------------------- -#use Class::C3; -#use base qw( -# WebGUI::AssetAspect::Subscribable -# WebGUI::AssetAspect::RssFeed -# WebGUI::Asset::Wobject -#); use Moose; use WebGUI::Definition::Asset; extends 'WebGUI::Asset::Wobject'; @@ -187,9 +181,9 @@ property filterCode => ( label => ['filter code', 'Asset_WikiMaster'], hoverHelp => ['filter code description', 'Asset_WikiMaster'], ); +with 'WebGUI::AssetAspect::Subscribable'; +with 'WebGUI::AssetAspect::RssFeed'; -use strict; -use Tie::IxHash; use WebGUI::International; use WebGUI::Utility; use HTML::Parser;