events, all-events: remove setting all_events param
parameter `all_events` has to be set in request now. Previously the parameter has been set automatically depending on template name.
This commit is contained in:
@@ -17,7 +17,6 @@ if ( $0 =~ /all-events.*?\.cgi$/ ) {
|
||||
my $config = config::getFromScriptLocation();
|
||||
|
||||
$params->{template} = '' unless defined $params->{template};
|
||||
$params->{all_recordings} = 1 if $params->{template} =~ /events_playout/; # deprecated
|
||||
$params->{exclude_event_images} = 1;
|
||||
|
||||
my $request = {
|
||||
|
||||
@@ -17,7 +17,6 @@ if ( $0 =~ /events.*?\.cgi$/ ) {
|
||||
my $config = config::getFromScriptLocation();
|
||||
|
||||
$params->{template} = '' unless defined $params->{template};
|
||||
$params->{all_recordings} = 1 if $params->{template} =~ /events_playout/; # deprecated
|
||||
|
||||
$params->{exclude_locations} = 1;
|
||||
$params->{exclude_projects} = 1;
|
||||
|
||||
Reference in New Issue
Block a user