Bug 17327: (QA followup) Remove Carp::Always which is not used

This patch removes the need for Carp::Always in .../Reserves/MultiplePerRecord.t
which is not actually used.

It also removes 'undef' from Koha::Holds::forced_hold_level's last return, to comply with
our QA rules.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Tomas Cohen Arazi 2016-09-26 14:55:16 -03:00 committed by Kyle M Hall
parent 91b23e09bb
commit 0901758f49
2 changed files with 1 additions and 2 deletions

View File

@ -77,7 +77,7 @@ sub forced_hold_level {
my $record_level_count = $self->search( { itemnumber => undef } )->count();
return 'record' if $record_level_count > 0;
return undef;
return;
}
=head3 type

View File

@ -17,7 +17,6 @@
# You should have received a copy of the GNU General Public License
# along with Koha; if not, see <http://www.gnu.org/licenses>.
use Carp::Always;
use Modern::Perl;
use Test::More tests => 38;