From: Nik Okuntseff Date: Fri, 19 Jan 2018 14:18:43 +0000 (+0000) Subject: Removed no longer used team address in export and import. X-Git-Tag: timetracker_1.19-1~1364 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/commitdiff_plain/8ddbc8e6180344c754600a56e6df0100327f2ed0 Removed no longer used team address in export and import. --- diff --git a/WEB-INF/lib/ttExportHelper.class.php b/WEB-INF/lib/ttExportHelper.class.php index 61de42c6..aa8f6c76 100644 --- a/WEB-INF/lib/ttExportHelper.class.php +++ b/WEB-INF/lib/ttExportHelper.class.php @@ -67,7 +67,6 @@ class ttExportHelper { "\" plugins=\"".$user->plugins."\" tracking_mode=\"".$user->tracking_mode."\" task_required=\"".$user->task_required. "\" record_type=\"".$user->record_type."\">\n"); fwrite($file, " team."]]>\n"); - fwrite($file, "
address."]]>
\n"); fwrite($file, "\n"); // Prepare user map. diff --git a/WEB-INF/lib/ttImportHelper.class.php b/WEB-INF/lib/ttImportHelper.class.php index 5e2d40a5..99b35e41 100644 --- a/WEB-INF/lib/ttImportHelper.class.php +++ b/WEB-INF/lib/ttImportHelper.class.php @@ -116,7 +116,6 @@ class ttImportHelper { if ($this->canImport) { $team_id = ttTeamHelper::insert(array( 'name' => $this->teamData['NAME'], - 'address' => $this->teamData['ADDRESS'], 'currency' => $this->teamData['CURRENCY'], 'lock_spec' => $this->teamData['LOCK_SPEC'], 'workday_hours' => $this->teamData['WORKDAY_HOURS'], @@ -315,9 +314,7 @@ class ttImportHelper { || $this->currentTag == 'LABEL' || $this->currentTag == 'VALUE' || $this->currentTag == 'COMMENT' - || $this->currentTag == 'ADDRESS' - || $this->currentTag == 'CLIENT_NAME' - || $this->currentTag == 'CLIENT_ADDRESS') { + || $this->currentTag == 'ADDRESS') { if (isset($this->currentElement[$this->currentTag])) $this->currentElement[$this->currentTag] .= trim($data); else diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 229e5ae3..ea522fa3 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.14.0.3755 | Copyright © Anuko | +  Anuko Time Tracker 1.14.0.3756 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve}