Reorganized new API + added legacy API support + new API

- Updated Settings Router to new standards
- Updated settings.html to reflect API change with better error handling
- Updated Settings API unit tests
This commit is contained in:
Jonathan Labreuille
2016-08-01 16:57:53 +02:00
parent 354d249e1d
commit 9410d4f10a
26 changed files with 216 additions and 93 deletions

View File

@@ -1,7 +1,6 @@
<?php
use \MailPoet\API
\Subscribers;
use \MailPoet\API\Subscribers;
use \MailPoet\Models\Subscriber;
use \MailPoet\Models\Segment;