export user substitutes

This commit is contained in:
Uwe Steinmann 2015-08-06 17:55:42 +02:00
parent 51a06c4ab6
commit e1f8a1abbb

View File

@ -487,6 +487,13 @@ if($users) {
} }
echo " </mandatory_approvers>\n"; echo " </mandatory_approvers>\n";
} }
if($substitutes = $user->getSubstitutes()) {
echo " <substitutes>\n";
foreach($substitutes as $substitute) {
echo " <substitute user=\"".$substitute['substitute']."\" />\n";
}
echo " </substitutes>\n";
}
echo " </user>\n"; echo " </user>\n";
} }
echo "</users>\n"; echo "</users>\n";