33 lines
570 B
PHP
33 lines
570 B
PHP
|
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
|
||
|
|
||
|
namespace MailPoet\Config;
|
||
|
|
||
|
if (!defined('ABSPATH')) exit;
|
||
|
|
||
|
|
||
|
use WP_Upgrader_Skin;
|
||
|
|
||
|
/**
|
||
|
* Upgrader skin that doesn't echo any outputs
|
||
|
* Used for when downloading translation updates in the background
|
||
|
*/
|
||
|
class SilentUpgraderSkin extends WP_Upgrader_Skin {
|
||
|
/**
|
||
|
* @inerhitDoc
|
||
|
*/
|
||
|
public function feedback($feedback, ...$args) {
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @inerhitDoc
|
||
|
*/
|
||
|
public function header() {
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @inerhitDoc
|
||
|
*/
|
||
|
public function footer() {
|
||
|
}
|
||
|
}
|