diff --git a/lib/WebGUI/Asset/EMSSubmission.pm b/lib/WebGUI/Asset/EMSSubmission.pm index ba225361a..2145529ee 100644 --- a/lib/WebGUI/Asset/EMSSubmission.pm +++ b/lib/WebGUI/Asset/EMSSubmission.pm @@ -478,24 +478,6 @@ sub www_view { $_[0]->ems->www_viewSubmissionQueue } #------------------------------------------------------------------- -=head2 getEditTabs ( ) - -defines 2 new tabs. -the shop tab is created here to mimic the function of the sku-created -shop tab. this class holds data like Sku assets so that they can be assigned -in the future when the sku asset is created from this data. - - -override getEditTabs => sub { - my $self = shift; - my $sku_i18n = WebGUI::International->new($self->session,"Asset_Sku"); - return (super(), ['shop', $sku_i18n->get('shop'), 9],); -}; - -=cut - -#------------------------------------------------------------------- - =head2 getQueueUrl returns the URL for the submission queue page with the submisison id in the hash part diff --git a/lib/WebGUI/Asset/Sku.pm b/lib/WebGUI/Asset/Sku.pm index b6227ed40..64e9924a4 100644 --- a/lib/WebGUI/Asset/Sku.pm +++ b/lib/WebGUI/Asset/Sku.pm @@ -214,21 +214,6 @@ override getEditForm => sub { #------------------------------------------------------------------- -=head2 getEditTabs ( ) - -Not to be modified, just defines a new tab. - - -override getEditTabs => sub { - my $self = shift; - my $i18n = WebGUI::International->new($self->session,"Asset_Sku"); - return (super(), ['shop', $i18n->get('shop'), 9]); -}; - -=cut - -#------------------------------------------------------------------- - =head2 getOptions ( ) Returns a hash reference of configuration data that can return this sku to a configured state. See also applyOptions(). diff --git a/lib/WebGUI/Asset/Wobject/Calendar.pm b/lib/WebGUI/Asset/Wobject/Calendar.pm index a69ee1cb4..c8dfe7897 100644 --- a/lib/WebGUI/Asset/Wobject/Calendar.pm +++ b/lib/WebGUI/Asset/Wobject/Calendar.pm @@ -534,20 +534,6 @@ sub deleteFeed { #---------------------------------------------------------------------------- -=head2 getEditTabs ( ) - -Add the feeds tab to the edit form - -=cut - -sub getEditTabs { - my ( $self ) = @_; - my $i18n = WebGUI::International->new($self->session,"Asset_Calendar"); - return $self->SUPER::getEditTabs, ["feeds",$i18n->get("feeds"), 6]; -} - -#---------------------------------------------------------------------------- - =head2 getEvent ( assetId ) Gets an Event object from the database. Returns a WebGUI::Asset::Event object diff --git a/lib/WebGUI/Asset/Wobject/Collaboration.pm b/lib/WebGUI/Asset/Wobject/Collaboration.pm index 70f806ff3..01200f29d 100644 --- a/lib/WebGUI/Asset/Wobject/Collaboration.pm +++ b/lib/WebGUI/Asset/Wobject/Collaboration.pm @@ -978,21 +978,6 @@ sub duplicateBranch { #------------------------------------------------------------------- -=head2 getEditTabs - -Add a tab for the mail interface. - - -sub getEditTabs { - my $self = shift; - my $i18n = WebGUI::International->new($self->session,"Asset_Collaboration"); - return ($self->next::method, ['mail', $i18n->get('mail'), 9]); -} - -=cut - -#------------------------------------------------------------------- - =head2 getNewThreadUrl( ) Formats the url to start a new thread. diff --git a/lib/WebGUI/Asset/Wobject/DataTable.pm b/lib/WebGUI/Asset/Wobject/DataTable.pm index 328d16204..1e1adb9db 100644 --- a/lib/WebGUI/Asset/Wobject/DataTable.pm +++ b/lib/WebGUI/Asset/Wobject/DataTable.pm @@ -141,21 +141,6 @@ sub getDateFormat { #---------------------------------------------------------------------------- -=head2 getEditTabs ( ) - -Add a tab for the data table. - -=cut - -sub getEditTabs { - my $self = shift; - my $i18n = WebGUI::International->new( $self->session, "Asset_DataTable" ); - - return ( $self->SUPER::getEditTabs, [ "data" => $i18n->get("tab label data") ], ); -} - -#---------------------------------------------------------------------------- - =head2 getTemplateVars ( ) Get the template vars for this asset. diff --git a/lib/WebGUI/Role/Asset/RssFeed.pm b/lib/WebGUI/Role/Asset/RssFeed.pm index f07000ce8..00d495091 100644 --- a/lib/WebGUI/Role/Asset/RssFeed.pm +++ b/lib/WebGUI/Role/Asset/RssFeed.pm @@ -593,23 +593,4 @@ sub www_viewRss { return $self->getFeed( XML::FeedPP::RSS->new )->to_string; } -#------------------------------------------------------------------- - -=head2 getEditTabs () - -Adds an RSS tab to the Edit Tabs. - - -around getEditTabs => sub { - my $orig = shift; - my $self = shift; - my $tabs = $self->$orig(@_); - my $i18n = WebGUI::International->new($self->session,'AssetAspect_RssFeed'); - push @{ $tabs }, ['rss', $i18n->get('RSS tab'), 1]; - return $tabs; -}; - -=cut - 1; -