| @@ -74,9 +74,9 @@ | ||
| 74 | 74 | * Constructor for the Backup_Settings class. |
| 75 | 75 | * It initializes the class and sets whether the current installation is a pro version. |
| 76 | 76 | */ |
| 77 | 77 | public function __construct() { |
| 78 | - $wpmudev = new WPMUDEV(); | |
| 78 | + $wpmudev = wd_di()->get( WPMUDEV::class ); | |
| 79 | 79 | $this->has_hub_api_key = $wpmudev->is_apikey_available(); |
| 80 | 80 | } |
| 81 | 81 | |
| 82 | 82 | /** |