projects
/
timetracker.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed a no longer used function.
[timetracker.git]
/
WEB-INF
/
lib
/
ttExportHelper.class.php
diff --git
a/WEB-INF/lib/ttExportHelper.class.php
b/WEB-INF/lib/ttExportHelper.class.php
index
c26937e
..
ca202ad
100644
(file)
--- a/
WEB-INF/lib/ttExportHelper.class.php
+++ b/
WEB-INF/lib/ttExportHelper.class.php
@@
-29,7
+29,7
@@
import('ttTeamHelper');
import('ttTimeHelper');
import('ttTeamHelper');
import('ttTimeHelper');
-// ttExportHelper - this class is used to export
team
data to a file.
+// ttExportHelper - this class is used to export
group
data to a file.
class ttExportHelper {
var $fileName = null; // Name of the file with data.
class ttExportHelper {
var $fileName = null; // Name of the file with data.
@@
-45,7
+45,7
@@
class ttExportHelper {
var $customFieldOptionMap = array(); // Custop field option ids.
var $logMap = array(); // Time log ids.
var $customFieldOptionMap = array(); // Custop field option ids.
var $logMap = array(); // Time log ids.
- // createDataFile creates a file with all data for a given
team
.
+ // createDataFile creates a file with all data for a given
group
.
function createDataFile($compress = false) {
global $user;
function createDataFile($compress = false) {
global $user;
@@
-61,7
+61,7
@@
class ttExportHelper {
fwrite($file, "<?xml version=\"1.0\"?>\n");
fwrite($file, "<pack>\n");
fwrite($file, "<?xml version=\"1.0\"?>\n");
fwrite($file, "<pack>\n");
- // Write
team
info.
+ // Write
group
info.
fwrite($file, "<group currency=\"".$user->currency."\" decimal_mark=\"".$user->decimal_mark."\" lang=\"".$user->lang.
"\" date_format=\"".$user->date_format."\" time_format=\"".$user->time_format."\" week_start=\"".$user->week_start.
"\" tracking_mode=\"".$user->tracking_mode."\" project_required=\"".$user->project_required."\" task_required=\"".$user->task_required.
fwrite($file, "<group currency=\"".$user->currency."\" decimal_mark=\"".$user->decimal_mark."\" lang=\"".$user->lang.
"\" date_format=\"".$user->date_format."\" time_format=\"".$user->time_format."\" week_start=\"".$user->week_start.
"\" tracking_mode=\"".$user->tracking_mode."\" project_required=\"".$user->project_required."\" task_required=\"".$user->task_required.
@@
-69,7
+69,9
@@
class ttExportHelper {
"\" plugins=\"".$user->plugins."\" lock_spec=\"".$user->lock_spec."\" workday_minutes=\"".$user->workday_minutes.
"\" config=\"".$user->config.
"\">\n");
"\" plugins=\"".$user->plugins."\" lock_spec=\"".$user->lock_spec."\" workday_minutes=\"".$user->workday_minutes.
"\" config=\"".$user->config.
"\">\n");
- fwrite($file, " <name><![CDATA[".$user->team."]]></name>\n");
+ fwrite($file, " <name><![CDATA[".$user->group."]]></name>\n");
+ fwrite($file, " <allow_ip><![CDATA[".$user->allow_ip."]]></allow_ip>\n");
+ fwrite($file, " <password_complexity><![CDATA[".$user->password_complexity."]]></password_complexity>\n");
fwrite($file, "</group>\n");
// Prepare role map.
fwrite($file, "</group>\n");
// Prepare role map.
@@
-375,7
+377,7
@@
class ttExportHelper {
* and we don't want to over-complicate things.
*/
* and we don't want to over-complicate things.
*/
- // getRoles - obtains all roles defined for
team
.
+ // getRoles - obtains all roles defined for
group
.
function getRoles() {
global $user;
$mdb2 = getConnection();
function getRoles() {
global $user;
$mdb2 = getConnection();
@@
-393,7
+395,7
@@
class ttExportHelper {
return false;
}
return false;
}
- // The getUsers obtains all users in
team
for the purpose of export.
+ // The getUsers obtains all users in
group
for the purpose of export.
function getUsers() {
global $user;
$mdb2 = getConnection();
function getUsers() {
global $user;
$mdb2 = getConnection();