course/view MDL-10221 delete course items with Ajax enabled

This commit is contained in:
Rossiani Wijaya
2009-11-03 02:39:02 +00:00
parent c8b0aa2ff4
commit e6e4a19712
+1 -1
View File
@@ -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) {