remove debug

This commit is contained in:
Milan
2023-02-26 22:28:12 +01:00
parent 26d56bd757
commit 4521c3ed6c
39 changed files with 0 additions and 73 deletions

View File

@@ -28,7 +28,6 @@ my $r = shift;
( my $cgi, my $params, my $error ) = params::get($r);
my $config = config::get('../config/config.cgi');
my $debug = $config->{system}->{debug};
my ( $user, $expires ) = auth::get_user( $config, $params, $cgi );
return if ( ( !defined $user ) || ( $user eq '' ) );
@@ -243,12 +242,6 @@ sub check_params {
my $template = '';
$checked->{template} = template::check( $config, $params->{template}, 'notify-events' );
my $debug = $params->{debug} || '';
if ( $debug =~ /([a-z\_\,]+)/ ) {
$debug = $1;
}
$checked->{debug} = $debug;
entry::set_numbers( $checked, $params, [
'event_id', 'project_id', 'studio_id', 'default_studio_id', 'user_id', 'series_id', 'duration'
]);