mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Removed unnecesary code; Merged from MOODLE_18_STABLE.
This commit is contained in:
parent
619c7447b0
commit
55a8360776
1 changed files with 0 additions and 5 deletions
|
@ -140,11 +140,6 @@ function authorize_action(&$order, &$message, &$extra, $action=AN_ACTION_NONE, $
|
|||
}
|
||||
}
|
||||
|
||||
if ($action <= AN_ACTION_NONE or $action > AN_ACTION_VOID) {
|
||||
$message = "Invalid action!";
|
||||
return AN_RETURNZERO;
|
||||
}
|
||||
|
||||
$poststring = $conststring;
|
||||
$poststring .= '&x_method=' . $method;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue