Rename misleading variables
This commit is contained in:
parent
687d97e111
commit
cc5b34d0a8
@ -28,11 +28,11 @@ function writeDomains($projectsByDomain) {
|
||||
}
|
||||
|
||||
function writeUsers($projectsById, $membershipMapping) {
|
||||
$domainHandle = fopen('./data/usermap.csv', 'w');
|
||||
$userHandle = fopen('./data/usermap.csv', 'w');
|
||||
foreach ($membershipMapping as $email => $projectId) {
|
||||
fwrite ($domainHandle, "$email,{$projectsById[$projectId]}\n");
|
||||
fwrite ($userHandle, "$email,{$projectsById[$projectId]}\n");
|
||||
}
|
||||
fclose($domainHandle);
|
||||
fclose($userHandle);
|
||||
}
|
||||
|
||||
function getProjectList($limit, $offset, $client) {
|
||||
|
Loading…
Reference in New Issue
Block a user