Changeset - 3bdee2bad3fb
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 13 years ago 2012-12-11 01:49:24
ohnobinki@ohnopublishing.net
Finish cleaning up some no-longer-used functions from calvin.crawl.inc unused since bbb436f2315b.
1 file changed with 0 insertions and 19 deletions:
0 comments (0 inline, 0 general)
school.d/calvin.crawl.inc
Show inline comments
 
@@ -49,25 +49,6 @@ function calvin_crawl_semester_list(arra
 
 *   The logger handle.
 
 */
 
function calvin_crawl_semester(array $school, Semester $semester, &$school_crawl_log)
 
{
 
  return school_crawl_webadvisor_semester($school, $semester, $school_crawl_log);
 
}
 

	
 
/**
 
 * \brief
 
 *   Add a course to a semester if that semester doesn't yet have this
 
 *   course.
 
 *
 
 * \param $semester
 
 *   The semester to which the course should be appended.
 
 * \param $deparmtent
 
 *   The department of the course to add.
 
 * \param $course_id
 
 *   The course_id which, with the department string, forms a
 
 *   fully-qualified course_id.
 
 */
 
function calvin_crawl_course_add_(Semester $semester, $department, $course_id, $title)
 
{
 
  if ($semester->class_get($department, $course_id) == NULL)
 
    $semester->class_add(new Course($department . '-' . $course_id, $title));
 
}
0 comments (0 inline, 0 general)