diff --git a/framework/core/src/Admin/Actions/ClientAction.php b/framework/core/src/Admin/Actions/ClientAction.php index 40cb99ace..ebdd22e49 100644 --- a/framework/core/src/Admin/Actions/ClientAction.php +++ b/framework/core/src/Admin/Actions/ClientAction.php @@ -3,6 +3,9 @@ use Flarum\Support\ClientAction as BaseClientAction; use Psr\Http\Message\ServerRequestInterface as Request; use Flarum\Core\Groups\Permission; +use Flarum\Api\Client; +use Flarum\Core\Settings\SettingsRepository; +use Flarum\Locale\LocaleManager; class ClientAction extends BaseClientAction { @@ -14,14 +17,19 @@ class ClientAction extends BaseClientAction /** * {@inheritdoc} */ - protected $layout = __DIR__.'/../../../views/admin.blade.php'; + protected $translationKeys = [ + + ]; /** * {@inheritdoc} */ - protected $translationKeys = [ + public function __construct(Client $apiClient, LocaleManager $locales, SettingsRepository $settings) + { + parent::__construct($apiClient, $locales, $settings); - ]; + $this->layout = __DIR__.'/../../../views/admin.blade.php'; + } /** * {@inheritdoc}