fixed ErrorResponse call in API::setupPublic()
- removed empty constructors in updated endpoints - added missing keys to Error class (unauthorized, forbidden)
This commit is contained in:
@ -6,9 +6,6 @@ use \MailPoet\Config\Activator;
|
||||
if(!defined('ABSPATH')) exit;
|
||||
|
||||
class Setup extends APIEndpoint {
|
||||
function __construct() {
|
||||
}
|
||||
|
||||
function reset() {
|
||||
try {
|
||||
$activator = new Activator();
|
||||
|
Reference in New Issue
Block a user