From a2c6a874b43c46bd110fc8f6d5faf9796e931d8d Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sat, 24 Nov 2018 15:32:41 +0000 Subject: [PATCH] Removed commented out code. --- WEB-INF/lib/ttGroupExportHelper.class.php | 32 ----------------------- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/WEB-INF/lib/ttGroupExportHelper.class.php b/WEB-INF/lib/ttGroupExportHelper.class.php index 4ce8eed6..d2ee6413 100644 --- a/WEB-INF/lib/ttGroupExportHelper.class.php +++ b/WEB-INF/lib/ttGroupExportHelper.class.php @@ -363,38 +363,6 @@ class ttGroupExportHelper { unset($log_part); } - /* - fwrite($this->file, $this->indentation." \n"); - $key = 0; - foreach ($this->userMap as $key => $value) { - $user_id = $key; - $records = ttTimeHelper::getAllRecords($user_id); - foreach ($records as $record) { - $key++; - $this->logMap[$record['id']] = $key; - $log_part = $this->indentation.' '."userMap[$record['user_id']]."\""; - $log_part .= " date=\"".$record['date']."\""; - $log_part .= " start=\"".$record['start']."\""; - $log_part .= " finish=\"".$record['finish']."\""; - $log_part .= " duration=\"".($record['start']?"":$record['duration'])."\""; - $log_part .= " client_id=\"".$this->clientMap[$record['client_id']]."\""; - $log_part .= " project_id=\"".$this->projectMap[$record['project_id']]."\""; - $log_part .= " task_id=\"".$this->taskMap[$record['task_id']]."\""; - $log_part .= " invoice_id=\"".$this->invoiceMap[$record['invoice_id']]."\""; - $log_part .= " comment=\"".htmlspecialchars($record['comment'])."\""; - $log_part .= " billable=\"".$record['billable']."\""; - $log_part .= " paid=\"".$record['paid']."\""; - $log_part .= " status=\"".$record['status']."\""; - $log_part .= ">\n"; - fwrite($this->file, $log_part); - } - } - fwrite($this->file, $this->indentation." \n"); - unset($records); - unset($log_part); - */ - // Write custom fields. if (count($custom_fields) > 0) { fwrite($this->file, $this->indentation." \n"); diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 9757471d..25340ba9 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.28.4508 | Copyright © Anuko | +  Anuko Time Tracker 1.18.28.4509 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1