remove debug
This commit is contained in:
@@ -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'
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user