// Write XML to the file.
fwrite($file, "<?xml version=\"1.0\"?>\n");
- fwrite($file, "<pack>\n");
+ fwrite($file, "<org>\n");
// Write group info.
fwrite($file, "<group currency=\"".$user->currency."\" decimal_mark=\"".$user->decimal_mark."\" lang=\"".$user->lang.
"\" plugins=\"".$user->plugins."\" lock_spec=\"".$user->lock_spec."\" workday_minutes=\"".$user->workday_minutes.
"\" config=\"".$user->config.
"\">\n");
- fwrite($file, " <name><![CDATA[".$user->group."]]></name>\n");
+ fwrite($file, " <name><![CDATA[".$user->group_name."]]></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");
$this->projectMap = array();
$this->taskMap = array();
- fwrite($file, "</pack>\n");
+ fwrite($file, "</org>\n");
fclose($file);
if ($compress) {