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:
parent
91b23e09bb
commit
0901758f49
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue