summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorMatt Selsky <selsky@columbia.edu>2012-01-20 17:19:02 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2012-01-20 17:19:02 +0100
commitb4dc58b6e7dcfe8ac43655eeee8be53c5295e755 (patch)
tree8eef1899076b2a1cd635213e33fba7eae085cee3 /extensions
parent588cb97721e0a5c3e7009efcba2f6f17da1ce970 (diff)
downloadbugzilla-b4dc58b6e7dcfe8ac43655eeee8be53c5295e755.tar.gz
bugzilla-b4dc58b6e7dcfe8ac43655eeee8be53c5295e755.tar.xz
Bug 718397: New extensions should be created using the MPL 2.0 license
r/a=LpSolit
Diffstat (limited to 'extensions')
-rwxr-xr-xextensions/create.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/extensions/create.pl b/extensions/create.pl
index 8ff7a872c..5f1b884d2 100755
--- a/extensions/create.pl
+++ b/extensions/create.pl
@@ -14,7 +14,6 @@ use Bugzilla::Error;
use Bugzilla::Util qw(get_text);
use File::Path qw(mkpath);
-use DateTime;
my $base_dir = bz_locations()->{'extensionsdir'};
@@ -34,10 +33,8 @@ foreach my $path (qw(lib web template/en/default/hook),
mkpath("$extension_dir/$path") || die "$extension_dir/$path: $!";
}
-my $year = DateTime->now()->year;
-
my $template = Bugzilla->template;
-my $vars = { year => $year, name => $name, path => $extension_dir };
+my $vars = { name => $name, path => $extension_dir };
my %create_files = (
'config.pm.tmpl' => 'Config.pm',
'extension.pm.tmpl' => 'Extension.pm',