Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove inactive users #305

Merged
merged 17 commits into from
Aug 3, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change variables to camelCase
- for consistency and PSR-12 compliance
gregcorbett committed Jul 29, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 7b719131157d059cd229b8bc18d08a74aa933697
4 changes: 2 additions & 2 deletions resources/RemoveInactiveUsersRunner.php
Original file line number Diff line number Diff line change
@@ -15,8 +15,8 @@
foreach ($users as $user) {
echo 'User ID: ' . $user->getId() . "\n";

$CreationDate = $user->getCreationDate();
$CreationStr = $CreationDate->format('Y-m-d H:i:s');
$creationDate = $user->getCreationDate();
$creationStr = $creationDate->format('Y-m-d H:i:s');

$lastLoginDate = $user->getLastLoginDate();