fix comment
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 11 Feb 2011 10:35:05 +0000 (11:35 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 11 Feb 2011 10:35:05 +0000 (11:35 +0100)
planetlab/slices/slice.php

index 1a61181..f4de029 100644 (file)
@@ -613,10 +613,9 @@ EOF;
   $resa_offset=$_GET['resa_offset'];
   if ( ! $resa_offset ) $resa_offset=0;
   $rough_start=time()+$resa_offset*3600;
-  // xxx should be configurable
+  // show the next 36 grains 
   $resa_slots=$_GET['resa_slots'];
   if ( ! $resa_slots ) $resa_slots = 36;
-  // for now, show the next 72 hours, or 72 grains, which ever is smaller
   $duration=$resa_slots*$grain;
   $steps=$duration/$grain;
   $start=intval($rough_start/$grain)*$grain;