uue same order of imports

This commit is contained in:
Milan
2020-03-26 16:11:59 +01:00
parent 219d6d6965
commit f9c4e183df
19 changed files with 27 additions and 16 deletions

View File

@@ -11,8 +11,8 @@ use Encode::Locale();
use params();
use config();
use log();
use entry();
use log();
use template();
use db();
use auth();
@@ -843,11 +843,10 @@ sub check_params {
}
}
$checked->{action} = entry::element_of($params->{action},
[qw{
save delete download show_new_event show_new_event_from_schedule
create_event create_event_from_schedule get_json
}]
);
$checked->{action} = entry::element_of( $params->{action},
[ 'save', 'delete', 'download', 'show_new_event', 'show_new_event_from_schedule',
'create_event', 'create_event_from_schedule', 'get_json'
]
)//'';
return $checked;
}