From a813fdcb25f13dbd3fab1106d5fd0719d3859b1d Mon Sep 17 00:00:00 2001 From: Milan Date: Sun, 15 Nov 2020 20:08:02 +0100 Subject: [PATCH] audio_recordings.pm: fetch without project/studio for global operations project/studio must not provided on fetching recordings from database. --- lib/calcms/audio_recordings.pm | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/calcms/audio_recordings.pm b/lib/calcms/audio_recordings.pm index 1eefc62..c8c54e5 100644 --- a/lib/calcms/audio_recordings.pm +++ b/lib/calcms/audio_recordings.pm @@ -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 );