course/view MDL-10221 delete course items with Ajax enabled
This commit is contained in:
+1
-1
@@ -48,7 +48,7 @@ require_capability('moodle/course:update', $context);
|
||||
|
||||
// OK, now let's process the parameters and do stuff
|
||||
|
||||
$req_method = ($page_action == 'DELETE') ? 'DELETE' : $_SERVER['REQUEST_METHOD'];
|
||||
$req_method = ($pageaction == 'DELETE') ? 'DELETE' : $_SERVER['REQUEST_METHOD'];
|
||||
|
||||
switch($req_method) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user