mirror of
https://github.com/friendica/friendica
synced 2025-04-26 23:50:11 +00:00
Replace $this->l10n->t() with $this->t() for Modules
This commit is contained in:
parent
207662251d
commit
dab9e13c69
23 changed files with 246 additions and 226 deletions
|
@ -54,7 +54,7 @@ class Receive extends BaseModule
|
|||
$enabled = $this->config->get('system', 'diaspora_enabled', false);
|
||||
if (!$enabled) {
|
||||
$this->logger->info('Diaspora disabled.');
|
||||
throw new HTTPException\ForbiddenException($this->l10n->t('Access denied.'));
|
||||
throw new HTTPException\ForbiddenException($this->t('Access denied.'));
|
||||
}
|
||||
|
||||
if ($this->parameters['type'] === 'public') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue