audio_recordings.pm: fetch without project/studio

for global operations project/studio must not provided on fetching
recordings from database.
This commit is contained in:
Milan
2020-11-15 20:08:02 +01:00
parent a4e480fb16
commit a813fdcb25

View File

@@ -30,9 +30,6 @@ sub get($$) {
my $config = shift;
my $condition = shift;
return undef unless defined $condition->{project_id};
return undef unless defined $condition->{studio_id};
my $date_range_include = 0;
$date_range_include = 1
if ( defined $condition->{date_range_include} ) && ( $condition->{date_range_include} == 1 );