Remove storiesPerFeed, since that's picked up by the RSS Aspect.

This commit is contained in:
Colin Kuskie 2009-04-08 17:39:42 +00:00
parent 5e1cf93394
commit 3cac8b32e0
4 changed files with 2 additions and 24 deletions

View file

@ -91,7 +91,6 @@ EOSTORY
CREATE TABLE StoryArchive ( CREATE TABLE StoryArchive (
assetId CHAR(22) BINARY NOT NULL, assetId CHAR(22) BINARY NOT NULL,
revisionDate BIGINT NOT NULL, revisionDate BIGINT NOT NULL,
storiesPerFeed INTEGER,
storiesPerPage INTEGER, storiesPerPage INTEGER,
groupToPost CHAR(22) BINARY, groupToPost CHAR(22) BINARY,
templateId CHAR(22) BINARY, templateId CHAR(22) BINARY,

View file

@ -21,7 +21,8 @@ use WebGUI::Asset::Wobject::Folder;
use WebGUI::Paginator; use WebGUI::Paginator;
use WebGUI::Keyword; use WebGUI::Keyword;
use WebGUI::Search; use WebGUI::Search;
use base 'WebGUI::Asset::Wobject'; use Class::C3;
use base qw/WebGUI::AssetAspect::RssFeed WebGUI::Asset::Wobject/;
use constant DATE_FORMAT => '%c_%D_%y'; use constant DATE_FORMAT => '%c_%D_%y';
@ -84,13 +85,6 @@ sub definition {
my %properties; my %properties;
tie %properties, 'Tie::IxHash'; tie %properties, 'Tie::IxHash';
%properties = ( %properties = (
storiesPerFeed => {
tab => 'display',
fieldType => 'integer',
label => $i18n->get('stories per feed'),
hoverHelp => $i18n->get('stories per feed help'),
defaultValue => 25,
},
storiesPerPage => { storiesPerPage => {
tab => 'display', tab => 'display',
fieldType => 'integer', fieldType => 'integer',

View file

@ -53,9 +53,6 @@ our $HELP = {
], ],
fields => [], fields => [],
variables => [ variables => [
{ 'name' => 'storesPerFeed',
'description' => 'stories per feed help',
},
{ 'name' => 'storesPerPage', { 'name' => 'storesPerPage',
'description' => 'stories per page help', 'description' => 'stories per page help',
}, },

View file

@ -9,18 +9,6 @@ our $I18N = {
lastUpdated => 0 lastUpdated => 0
}, },
'stories per feed' => {
message => q|Stories Per Feed|,
context => q|Label in the edit screen and template.|,
lastUpdated => 0
},
'stories per feed help' => {
message => q|The number of stories displayed in RSS and Atom feeds from this StoryArchive.|,
context => q|Hoverhelp in the edit screen and template.|,
lastUpdated => 0
},
'stories per page' => { 'stories per page' => {
message => q|Stories Per Page|, message => q|Stories Per Page|,
context => q|Label in the edit screen and template.|, context => q|Label in the edit screen and template.|,