Skip to content

Commit

Permalink
[debug-manager] Fixed usages of get_all_modules_sites().
Browse files Browse the repository at this point in the history
  • Loading branch information
fajardoleo committed Sep 18, 2024
1 parent 52a12f1 commit 6ace5fc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion includes/class-freemius.php
Original file line number Diff line number Diff line change
Expand Up @@ -22468,7 +22468,7 @@ private function complete_change_owner() {
$this->_set_account( $user, $this->_site );

$remove_user = true;
$all_modules_sites = self::get_all_modules_sites();
$all_modules_sites = FS_DebugManager::get_all_modules_sites();

foreach ( $all_modules_sites as $sites_by_module_type ) {
foreach ( $sites_by_module_type as $sites_by_slug ) {
Expand Down
2 changes: 1 addition & 1 deletion includes/managers/class-fs-clone-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ private function find_network_subsite_clone_install( Freemius $instance ) {
}

if ( ! isset( $this->all_installs ) ) {
$this->all_installs = Freemius::get_all_modules_sites();
$this->all_installs = FS_DebugManager::get_all_modules_sites();
}

// Check if there's another blog that has the same site.
Expand Down
4 changes: 2 additions & 2 deletions includes/managers/class-fs-debug-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -382,13 +382,13 @@ private static function get_all_licenses_by_module_type() {
}

/**
* Moved from the Freemius class.
*
* @author Leo Fajardo (@leorw)
* Moved from Freemius
*
* @return array
*
* @since 2.5.0
*
*/
static function get_all_modules_sites() {
Freemius::get_static_logger()->entrance();
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.8.0';
$this_sdk_version = '2.8.0.1';

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

Expand Down

0 comments on commit 6ace5fc

Please sign in to comment.