Changeset - 33415a1408d1
[Not reviewed]
default
0 1 0
Nathan Brink (binki) - 13 years ago 2012-10-10 08:54:06
ohnobinki@ohnopublishing.net
calvin: Remove unused variables from crawler.
1 file changed with 0 insertions and 3 deletions:
0 comments (0 inline, 0 general)
school.d/calvin.crawl.inc
Show inline comments
 
@@ -221,27 +221,24 @@ function calvin_crawl_semester(array $sc
 
  /*
 
   * VAR10 through VAR16 are Monday through Sunday checkboxes
 
   * for days of the week that classes meet.
 
   *
 
   * But we specify no days of the week to avoid this being a
 
   * constraint ;-).
 
   */
 
  /*
 
    for ($day = 10; $day <= 16; $day ++)
 
    $form['VAR' . $day] = '';
 
  */
 

	
 
  $semester_start_min = 0;
 
  $semester_end_max = 0;
 

	
 
  $skipped_sections = array('incomplete meeting info' => 0, 'invalid meeting info format' => 0);
 
  /*
 
   * pages is populated by preg_match() below after the first looping.
 
   */
 
  $pages = array(1 => 0, 2 => 1);
 
  while ($pages[1] < $pages[2])
 
    {
 
      $html = calvin_crawl_noscript_filter(school_crawl_geturi($uri, $cookies, $school_crawl_log, $form));
 

	
 
      $results_dom = new DOMDocument();
 
      $results_dom->loadHTML($html);	
 

	
0 comments (0 inline, 0 general)