@@ -19,8 +19,6 @@ |
||
19 | 19 | use Cake\Http\Exception\NotFoundException; |
20 | 20 | use Cake\ORM\Entity; |
21 | 21 | use Cake\ORM\Query; |
22 | -use Cake\ORM\RulesChecker; |
|
23 | -use Cake\ORM\TableRegistry; |
|
24 | 22 | use Cake\Validation\Validator; |
25 | 23 | use Saito\App\Registry; |
26 | 24 | use Saito\Posting\Posting; |
@@ -15,8 +15,6 @@ |
||
15 | 15 | use App\Lib\Model\Table\AppSettingTable; |
16 | 16 | use Cake\Cache\Cache; |
17 | 17 | use Cake\Core\Configure; |
18 | -use Cake\ORM\Query; |
|
19 | -use Saito\App\Registry; |
|
20 | 18 | use \Stopwatch\Lib\Stopwatch; |
21 | 19 | |
22 | 20 | class SettingsTable extends AppSettingTable |
@@ -9,9 +9,6 @@ |
||
9 | 9 | |
10 | 10 | namespace App\Model\Table; |
11 | 11 | |
12 | -use ArrayObject; |
|
13 | -use Cake\Event\Event; |
|
14 | -use Cake\ORM\Entity; |
|
15 | 12 | use Cake\ORM\Query; |
16 | 13 | use Cake\ORM\Table; |
17 | 14 | use Cake\Validation\Validator; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | |
10 | 10 | namespace App\View\Helper; |
11 | 11 | |
12 | -use App\Controller\Component\CurrentUserComponent; |
|
13 | 12 | use Cake\Core\Configure; |
14 | 13 | use Cake\Event\Event; |
15 | 14 | use Cake\View\Helper; |
@@ -12,12 +12,10 @@ |
||
12 | 12 | |
13 | 13 | namespace App\View\Helper; |
14 | 14 | |
15 | -use Cake\Core\Configure; |
|
16 | 15 | use Geshi\View\Helper\GeshiHelper; |
17 | 16 | use Saito\App\Registry; |
18 | 17 | use Saito\Markup\Markup; |
19 | 18 | use Saito\Markup\MarkupInterface; |
20 | -use Saito\Smiley\SmileyRenderer; |
|
21 | 19 | use Stopwatch\Lib\Stopwatch; |
22 | 20 | |
23 | 21 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Admin\Controller; |
4 | 4 | |
5 | -use App\Controller\AppController; |
|
6 | 5 | use App\Model\Table\UsersTable; |
7 | 6 | |
8 | 7 | /** |
@@ -34,7 +34,6 @@ discard block |
||
34 | 34 | use Cake\Core\App; |
35 | 35 | use Cake\Core\Configure; |
36 | 36 | use Cake\Core\Configure\Engine\PhpConfig; |
37 | -use Cake\Core\Plugin; |
|
38 | 37 | use Cake\Database\Type; |
39 | 38 | use Cake\Datasource\ConnectionManager; |
40 | 39 | use Cake\Error\ErrorHandler; |
@@ -42,7 +41,6 @@ discard block |
||
42 | 41 | use Cake\Log\Log; |
43 | 42 | use Cake\Mailer\Email; |
44 | 43 | use Cake\Mailer\TransportFactory; |
45 | -use Cake\Routing\DispatcherFactory; |
|
46 | 44 | use Cake\Utility\Inflector; |
47 | 45 | use Cake\Utility\Security; |
48 | 46 |
@@ -12,11 +12,8 @@ |
||
12 | 12 | |
13 | 13 | namespace Api\Error; |
14 | 14 | |
15 | -use Api\Error\Exception\GenericApiException; |
|
16 | 15 | use Cake\Core\Configure; |
17 | -use Cake\Core\Exception\Exception; |
|
18 | 16 | use Cake\Error\ExceptionRenderer; |
19 | -use Cake\View\View; |
|
20 | 17 | |
21 | 18 | class JsonApiExceptionRenderer extends ExceptionRenderer |
22 | 19 | { |
@@ -5,10 +5,8 @@ |
||
5 | 5 | use Cake\Core\Configure; |
6 | 6 | use Cake\Event\EventManager; |
7 | 7 | use Cake\Filesystem\File; |
8 | -use Cake\Mailer\Email; |
|
9 | 8 | use Cake\Mailer\TransportFactory; |
10 | 9 | use Cake\Utility\Inflector; |
11 | -use claviska\SimpleImage; |
|
12 | 10 | use Cron\Lib\Cron; |
13 | 11 | use Plugin\BbcodeParser\src\Lib\Markup; |
14 | 12 | use Saito\App\Registry; |