@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Cake\Event\Event; |
| 18 | 18 | use Cake\Http\Response; |
| 19 | 19 | use Cake\I18n\I18n; |
| 20 | -use Saito\App\Registry; |
|
| 21 | 20 | use Saito\App\SettingsImmutable; |
| 22 | 21 | use Saito\Event\SaitoEventManager; |
| 23 | 22 | use Saito\User\CurrentUser\CurrentUser; |
@@ -9,7 +9,6 @@ discard block |
||
| 9 | 9 | |
| 10 | 10 | namespace App\Controller; |
| 11 | 11 | |
| 12 | -use App\Controller\Component\CurrentUserComponent; |
|
| 13 | 12 | use App\Controller\Component\MarkAsReadComponent; |
| 14 | 13 | use App\Controller\Component\ThreadsComponent; |
| 15 | 14 | use App\Model\Entity\Entry; |
@@ -21,9 +20,7 @@ discard block |
||
| 21 | 20 | use Cake\Http\Exception\ForbiddenException; |
| 22 | 21 | use Cake\Http\Exception\MethodNotAllowedException; |
| 23 | 22 | use Cake\Http\Exception\NotFoundException; |
| 24 | -use Cake\I18n\Time; |
|
| 25 | 23 | use Cake\Routing\RequestActionTrait; |
| 26 | -use Saito\App\Registry; |
|
| 27 | 24 | use Saito\Posting\Posting; |
| 28 | 25 | use Saito\User\CurrentUser\CurrentUserInterface; |
| 29 | 26 | use Saito\User\ForumsUserInterface; |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /** |
| 6 | 6 | * Saito - The Threaded Web Forum |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $this->addBehavior( |
| 82 | 82 | 'Proffer.Proffer', |
| 83 | 83 | [ |
| 84 | - 'avatar' => [ // The name of your upload field (filename) |
|
| 84 | + 'avatar' => [// The name of your upload field (filename) |
|
| 85 | 85 | 'root' => $avatarRootDir, |
| 86 | 86 | 'dir' => 'avatar_dir', // field for upload directory |
| 87 | 87 | 'thumbnailSizes' => [ |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use Saito\Exception\SaitoForbiddenException; |
| 25 | 25 | use Saito\User\Blocker\ManualBlocker; |
| 26 | 26 | use Saito\User\CurrentUser\CurrentUserInterface; |
| 27 | -use Saito\User\SaitoUser; |
|
| 28 | 27 | use Siezi\SimpleCaptcha\Model\Validation\SimpleCaptchaValidator; |
| 29 | 28 | use Stopwatch\Lib\Stopwatch; |
| 30 | 29 | |