Commit 2b407be2 authored by Graham McVicker's avatar Graham McVicker
Browse files

removed superfluous if statement

parent 5105e19f
......@@ -243,7 +243,7 @@ sub fetch_all_by_dbID_list {
my ($self,$id_list) = @_;
if(!defined($id_list) || ref($id_list) ne 'ARRAY') {
throw("id_list list reference argument is required") if(!defined $id_list);
throw("id_list list reference argument is required");
}
return [] if(!@$id_list);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment