diff beta.php @ 9:fe5b563eaae5

Remove dead code, that is done in parsedata.pl now.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 11 Jan 2011 22:24:01 +0200
parents 2bb40c5945bc
children 6272ca0cacea
line wrap: on
line diff
--- a/beta.php	Tue Jan 11 22:22:45 2011 +0200
+++ b/beta.php	Tue Jan 11 22:24:01 2011 +0200
@@ -164,14 +164,6 @@
     }
   }
 
-  for ($day = $classInfo["maxdays"] - 1; $day >= 0; $day--) {
-    if ($dayHours[$day]["total"] == 0)
-      $classInfo["maxdays"]--;
-    else
-      break;
-  }
-
-
   // Create the timetable table
   $out =
   "<p>".join("; ", $classInfo["general"])."</p>\n".