From cc5b34d0a8a4af110f78edc7a76b40e275c8e6ff Mon Sep 17 00:00:00 2001 From: Jon Goldberg Date: Thu, 18 Jan 2018 02:01:44 -0500 Subject: [PATCH] Rename misleading variables --- getmappings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/getmappings.php b/getmappings.php index 7529641..7524221 100755 --- a/getmappings.php +++ b/getmappings.php @@ -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) {