fixed issue with namespace AND fixed issue #649

This commit is contained in:
Jonathan Labreuille
2016-10-06 12:53:18 +02:00
parent b9745b555a
commit 4402f826c3
22 changed files with 44 additions and 54 deletions

View File

@ -1,10 +1,8 @@
<?php
if(!defined('ABSPATH')) exit;
namespace MailPoet\API;
use \MailPoet\Util\Security;
if(!defined('ABSPATH')) exit;
class API {
function init() {

View File

@ -1,8 +1,8 @@
<?php
if(!defined('ABSPATH')) exit;
namespace MailPoet\API;
if(!defined('ABSPATH')) exit;
final class Error {
const UNKNOWN = 'unknown';
const BAD_REQUEST = 'bad_request';