sub template_before_create {
my ($self, $args) = @_;
my $config = $args->{config};
- my $constants = $config->{CONSTANTS};
+ my $constants = $config->{VARIABLES}{constants};
$constants->{REL_COMPONENT_WATCHER} = REL_COMPONENT_WATCHER;
}
my ($self, $args) = @_;
my $config = $args->{config};
- my $constants = $config->{CONSTANTS};
+ my $constants = $config->{VARIABLES}{constants};
$constants->{CMT_MOVED_TO} = CMT_MOVED_TO;
my $vars = $config->{VARIABLES};
sub template_before_create {
my ($self, $args) = @_;
my $config = $args->{config};
- my $constants = $config->{CONSTANTS};
+ my $constants = $config->{VARIABLES}{constants};
$constants->{REL_VOTER} = REL_VOTER;
$constants->{CMT_POPULAR_VOTES} = CMT_POPULAR_VOTES;
$constants->{DEFAULT_VOTES_PER_BUG} = DEFAULT_VOTES_PER_BUG;