diff --git a/ajax.php b/ajax.php index 5f1a5ebd..b6af1ce5 100644 --- a/ajax.php +++ b/ajax.php @@ -212,7 +212,7 @@ } break; - case "get_assignments": + case "get_migration_assignments": include_once("classes/v1migration/v1migration.php"); $PAGE->set_context(context_system::instance()); diff --git a/jquery/turnitintooltwo_extra-2018082301.js b/jquery/turnitintooltwo_extra-2018082301.js index d1652a55..b00bb936 100644 --- a/jquery/turnitintooltwo_extra-2018082301.js +++ b/jquery/turnitintooltwo_extra-2018082301.js @@ -96,7 +96,7 @@ jQuery(document).ready(function($) { "oLanguage": dataTablesLangMigration, "aaSorting": [[ 2, "asc" ]], "aLengthMenu": [[10, 25, 50, 100, -1], [10, 25, 50, 100, "All"]], - "sAjaxSource": "ajax.php?action=get_assignments", + "sAjaxSource": "ajax.php?action=get_migration_assignments", "sDom": '<"top"lf>rt<"bottom"irp><"clear">', "aoColumns": [ {"bSortable": false, "bSearchable": false,