From 34277a1b37aeddea020e28db3189dc8ad87233cd Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 20 Aug 2012 13:20:52 +0200 Subject: [PATCH] 8044 Followup for modules Content-Type: text/plain; charset="utf-8" Adds strict and warnings pragma to I18N.pm. Removes duplicate from KohaBranchName.pm. --- Koha/I18N.pm | 3 +++ Koha/Template/Plugin/KohaBranchName.pm | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Koha/I18N.pm b/Koha/I18N.pm index dba57da..3994ab5 100644 --- a/Koha/I18N.pm +++ b/Koha/I18N.pm @@ -1,5 +1,8 @@ package Koha::I18N; +use strict; +use warnings; + use base qw(Locale::Maketext); use C4::Templates; diff --git a/Koha/Template/Plugin/KohaBranchName.pm b/Koha/Template/Plugin/KohaBranchName.pm index a39aba0..bfcc0f9 100644 --- a/Koha/Template/Plugin/KohaBranchName.pm +++ b/Koha/Template/Plugin/KohaBranchName.pm @@ -22,8 +22,6 @@ use warnings; use Template::Plugin::Filter; use base qw( Template::Plugin::Filter ); -use warnings; -use strict; use C4::Branch qw( GetBranchName );; -- 1.7.7.6