From b56f09229956b964db36567a49c139e138867b97 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 13 Dec 2013 14:49:56 -0500 Subject: [PATCH] Bug 7567: (code cleanup) update license and use Modern::Perl Grabbed the current license from http://wiki.koha-community.org/wiki/Coding_Guidelines#Licence and changed the use strict; use warnings; into a use Modern::Perl instead. TEST PLAN --------- 1) Log into staff client. - Does news look okay? 2) Apply patch 3) Refresh staff client. - Does news look the same? Signed-off-by: Chris Cormack Safe no op action Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- C4/NewsChannels.pm | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/C4/NewsChannels.pm b/C4/NewsChannels.pm index 7c342390d4..3982935ed5 100644 --- a/C4/NewsChannels.pm +++ b/C4/NewsChannels.pm @@ -1,25 +1,25 @@ package C4::NewsChannels; -# Copyright 2000-2002 Katipo Communications +# This file is part of Koha. +# +# Copyright (C) 2000-2002 Katipo Communications # # This file is part of Koha. # -# Koha is free software; you can redistribute it and/or modify it under the -# terms of the GNU General Public License as published by the Free Software -# Foundation; either version 2 of the License, or (at your option) any later -# version. +# Koha is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. # -# Koha is distributed in the hope that it will be useful, but WITHOUT ANY -# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR -# A PARTICULAR PURPOSE. See the GNU General Public License for more details. +# Koha is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License along -# with Koha; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -use strict; -use warnings; +# You should have received a copy of the GNU General Public License +# along with Koha; if not, see . +use Modern::Perl; use C4::Context; use C4::Dates qw(format_date); -- 2.39.5