Added two new helpers date_comp, sql_date_comp.
[fa-stable.git] / reporting / includes / excel_report.inc
index 01872157cf3654cb447f89d7bea23befac947dc0..214bcfde04aad6f0e03bca71021b6e53db027891 100644 (file)
@@ -693,13 +693,6 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook
                return ($px / $unit_offset_length);
        }       
 
-       function recalculate_cols(&$cols)
-       {
-               $factor = (user_pagesize() == "A4" ? 1.4 : 1.3);
-               foreach($cols as $key => $col)
-                       $cols[$key] = intval($col * $factor); 
-       }
-
        function End($email=0, $subject='')
        {
                global $path_to_root;
@@ -728,4 +721,3 @@ class FrontReport extends Spreadsheet_Excel_Writer_Workbook
        }
 }
 
-?>
\ No newline at end of file