Rename misleading variables

This commit is contained in:
Jon Goldberg 2018-01-18 02:01:44 -05:00
parent 687d97e111
commit cc5b34d0a8

View File

@ -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) {