Skip to content

Commit

Permalink
Merge pull request #680 from Freemius/develop
Browse files Browse the repository at this point in the history
Version 2.6.2
  • Loading branch information
swashata authored Dec 31, 2023
2 parents 9fb47e3 + 4d3eac7 commit ea3a288
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions includes/class-freemius.php
Original file line number Diff line number Diff line change
Expand Up @@ -1357,8 +1357,7 @@ function _plugins_loaded() {
}

function _run_garbage_collector() {
// @todo - Remove this check once the garbage collector is ready to be out of beta.
if ( true !== fs_get_optional_constant( 'WP_FS__ENABLE_GARBAGE_COLLECTOR', false ) ) {
if ( true !== fs_get_optional_constant( 'WP_FS__ENABLE_GARBAGE_COLLECTOR', true ) ) {
return;
}

Expand Down
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
2 changes: 1 addition & 1 deletion start.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @var string
*/
$this_sdk_version = '2.6.1';
$this_sdk_version = '2.6.2';

#region SDK Selection Logic --------------------------------------------------------------------

Expand Down

0 comments on commit ea3a288

Please sign in to comment.