use Friendica\Content\Conversation;
use Friendica\Content\Text\BBCode;
-use Friendica\Core\Hook;
use Friendica\Core\Protocol;
use Friendica\Core\System;
use Friendica\Core\Worker;
protected function content(array $request = []): string
{
- $basePath = DI::appHelper()->getBasePath();
- $config = DI::config();
+ $basePath = DI::appHelper()->getBasePath();
+ $config = DI::config();
$eventDispatcher = DI::eventDispatcher();
$eventDispatcher->dispatch(
DI::baseUrl()->redirect('/profile/' . $config->get('system', 'singleuser'));
}
- $customHome = '';
+ $customHome = '';
$defaultHeader = ($config->get('config', 'sitename') ? DI::l10n()->t('Welcome to %s', $config->get('config', 'sitename')) : '');
$homeFilePath = $basePath . '/home.html';
- $cssFilePath = $basePath . '/home.css';
+ $cssFilePath = $basePath . '/home.css';
if (file_exists($homeFilePath)) {
$customHome = $homeFilePath;
namespace Friendica\Module\Post\Tag;
use Friendica\App;
-use Friendica\Core\Hook;
use Friendica\Core\L10n;
use Friendica\Core\Session\Capability\IHandleUserSessions;
use Friendica\Core\System;
{
parent::__construct($l10n, $baseUrl, $args, $logger, $profiler, $response, $server, $parameters);
- $this->session = $session;
- $this->db = $db;
- $this->auth = $auth;
- $this->systemMessages = $systemMessages;
- $this->notify = $notify;
- $this->intro = $intro;
- $this->appHelper = $appHelper;
+ $this->session = $session;
+ $this->db = $db;
+ $this->auth = $auth;
+ $this->systemMessages = $systemMessages;
+ $this->notify = $notify;
+ $this->intro = $intro;
+ $this->appHelper = $appHelper;
$this->eventDispatcher = $eventDispatcher;
}