@@ -11,9 +11,7 @@ |
||
| 11 | 11 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 12 | 12 | use Symfony\Component\HttpFoundation\Request; |
| 13 | 13 | use Symfony\Component\HttpFoundation\Response; |
| 14 | -use Psr\Cache\CacheItemPoolInterface; |
|
| 15 | 14 | use Xtools\Project; |
| 16 | -use Xtools\ProjectRepository; |
|
| 17 | 15 | use Xtools\User; |
| 18 | 16 | use DateTime; |
| 19 | 17 | use DateInterval; |
@@ -12,8 +12,6 @@ |
||
| 12 | 12 | use Symfony\Component\HttpFoundation\Request; |
| 13 | 13 | use Symfony\Component\HttpFoundation\Response; |
| 14 | 14 | use Xtools\Project; |
| 15 | -use Xtools\ProjectRepository; |
|
| 16 | -use Xtools\User; |
|
| 17 | 15 | |
| 18 | 16 | /** |
| 19 | 17 | * This controller handles the Simple Edit Counter tool. |
@@ -14,11 +14,8 @@ |
||
| 14 | 14 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 15 | 15 | use Xtools\EditCounter; |
| 16 | 16 | use Xtools\EditCounterRepository; |
| 17 | -use Xtools\Page; |
|
| 18 | 17 | use Xtools\Project; |
| 19 | -use Xtools\ProjectRepository; |
|
| 20 | 18 | use Xtools\User; |
| 21 | -use Xtools\UserRepository; |
|
| 22 | 19 | |
| 23 | 20 | /** |
| 24 | 21 | * Class EditCounterController |
@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 17 | 17 | use Xtools\AdminStats; |
| 18 | 18 | use Xtools\AdminStatsRepository; |
| 19 | -use Xtools\ProjectRepository; |
|
| 20 | 19 | |
| 21 | 20 | /** |
| 22 | 21 | * Class AdminStatsController |
@@ -5,9 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | namespace Xtools; |
| 7 | 7 | |
| 8 | -use Symfony\Component\DependencyInjection\Container; |
|
| 9 | -use DateTime; |
|
| 10 | - |
|
| 11 | 8 | /** |
| 12 | 9 | * AdminStats returns information about users with administrative |
| 13 | 10 | * rights on a given wiki. |
@@ -5,9 +5,6 @@ |
||
| 5 | 5 | |
| 6 | 6 | namespace Xtools; |
| 7 | 7 | |
| 8 | -use Symfony\Component\DependencyInjection\Container; |
|
| 9 | -use DateTime; |
|
| 10 | - |
|
| 11 | 8 | /** |
| 12 | 9 | * TopEdits returns the top-edited pages by a user. |
| 13 | 10 | */ |