Skip to content

Commit

Permalink
[garbage-collector] Fixed a wrong variable usage in the users cleanup…
Browse files Browse the repository at this point in the history
… logic. (#681)
  • Loading branch information
fajardoleo authored Dec 31, 2023
1 parent 07afe06 commit 4d3eac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-fs-garbage-collector.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ function clean() {
$has_updated_option = false;

foreach ( $users as $user_id => $user ) {
if ( ! isset( $user_has_install[ $user_id ] ) ) {
if ( ! isset( $user_has_install_map[ $user_id ] ) ) {
unset( $users[ $user_id ] );

foreach( $products_user_id_license_ids_map as $product_id => $user_id_license_ids_map ) {
Expand Down

0 comments on commit 4d3eac7

Please sign in to comment.