aboutsummaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDave Miller <justdave@bugzilla.org>2024-04-28 00:31:36 -0400
committerGitHub <noreply@github.com>2024-04-28 00:31:36 -0400
commit340c5f43bf00ad5723f8c91ee38c7893714c54ac (patch)
tree416ec100880344ab166eb9eee3cfe3dd94db06ee /extensions
parentd2c64a9da3821bc7769ab5789ec928a26223b935 (diff)
downloadbugs-340c5f43bf00ad5723f8c91ee38c7893714c54ac.tar
bugs-340c5f43bf00ad5723f8c91ee38c7893714c54ac.tar.gz
bugs-340c5f43bf00ad5723f8c91ee38c7893714c54ac.tar.bz2
bugs-340c5f43bf00ad5723f8c91ee38c7893714c54ac.tar.xz
bugs-340c5f43bf00ad5723f8c91ee38c7893714c54ac.zip
(no bug) Backout PR #60 - new feature not valid for stable branch (#164)
This was accidentally included in the 5.0.4 branch, which should have branched just before this commit. Everything else after it before we did end up branching would have been cherry-picked anyway.
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Example/Extension.pm13
1 files changed, 0 insertions, 13 deletions
diff --git a/extensions/Example/Extension.pm b/extensions/Example/Extension.pm
index c4fabe656..dbc84df72 100644
--- a/extensions/Example/Extension.pm
+++ b/extensions/Example/Extension.pm
@@ -920,19 +920,6 @@ sub template_before_create {
$config->{VARIABLES}->{example_global_variable} = sub { return 'value' };
}
-sub template_after_create {
- my ( $self, $args ) = @_;
- my $context = $args->{template}->context;
-
- # define a pluck method on template toolkit lists.
- $context->define_vmethod(
- list => pluck => sub {
- my ( $list, $field ) = @_;
- return [ map { $_->$field } @$list ];
- }
- );
-}
-
sub template_before_process {
my ($self, $args) = @_;