mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
parameter cleaup - round 1
This commit is contained in:
parent
1452f9e11b
commit
1c47adc540
14 changed files with 43 additions and 48 deletions
|
@ -35,9 +35,8 @@
|
|||
|
||||
|
||||
/// Parameters
|
||||
$action = optional_param('action', '', PARAM_ALPHA);
|
||||
$sesskey = optional_param('sesskey');
|
||||
$version = optional_param('version');
|
||||
$action = optional_param('action', '', PARAM_ACTION);
|
||||
$version = optional_param('version', '', PARAM_FILE); //
|
||||
|
||||
/// Security checks
|
||||
require_login();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue