Skip to content
Snippets Groups Projects
Commit b57d5709 authored by Roger W Feese's avatar Roger W Feese
Browse files

Removed some unused code and added page tag to the included form.

parent 95270cb6
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<name value="Courses to Migrate Module"/> <name value="Courses to Migrate Module"/>
<handle value="crs_migrate_bb"/> <handle value="crs_migrate_bb"/>
<description value="Displays a list of courses the user is Instructing and allows them to designate the ones to be migrated to the new server."/> <description value="Displays a list of courses the user is Instructing and allows them to designate the ones to be migrated to the new server."/>
<version value="0.2.3"/> <version value="0.2.4"/>
<requires> <requires>
<bbversion value="8.0.0"/> <bbversion value="8.0.0"/>
......
<%@ page language="java" contentType="text/html; charset=UTF-8" isELIgnored="false" %>
<%@ page import="java.io.PrintWriter" %> <%@ page import="java.io.PrintWriter" %>
<%@ page import="java.sql.Connection" %> <%@ page import="java.sql.Connection" %>
......
...@@ -18,24 +18,8 @@ ...@@ -18,24 +18,8 @@
<bbData:context id="ctx"> <bbData:context id="ctx">
<% <%
BbList.Iterator coursesInstructingIterator = null;
ConnectionManager connectionManager = ConnectionManager.getDefaultInstance();
Connection dbConnection = connectionManager.getConnection();
try{
CourseDbLoader cLoader = (CourseDbLoader) CourseDbLoader.Default.getInstance();
BbList coursesInstructing = cLoader.loadByUserIdAndCourseMembershipRole(ctx.getUser().getId(), CourseMembership.Role.INSTRUCTOR, dbConnection);
coursesInstructingIterator = coursesInstructing.getFilteringIterator();
}
catch(Exception e){
e.printStackTrace(new PrintWriter(out));
}
dbConnection.close();
//uri //uri
String proc_uri = PlugInUtil.getUri("unl", "crs_migrate_bb", "module/proc_migrate_form.jsp"); String proc_uri = PlugInUtil.getUri("unl", "crs_migrate_bb", "module/proc_migrate_form.jsp");
//pageContext.setAttribute("courses", coursesInstructingIterator);
%> %>
<p>Select the courses that should be migrated to the new Blackboard server and click the button below. Migrations will be scheduled to occur overnight. Once a course has been migrated, it will be indicated in list.</p> <p>Select the courses that should be migrated to the new Blackboard server and click the button below. Migrations will be scheduled to occur overnight. Once a course has been migrated, it will be indicated in list.</p>
<form id="unl-crs_migrate_bb-form" method="POST" action="<%= proc_uri %>"> <form id="unl-crs_migrate_bb-form" method="POST" action="<%= proc_uri %>">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment