]> git.mxchange.org Git - friendica.git/blob - src/Module/HTTPException/PageNotFound.php
Move L10n::t() calls to DI::l10n()->t() calls
[friendica.git] / src / Module / HTTPException / PageNotFound.php
1 <?php
2
3 namespace Friendica\Module\HTTPException;
4
5 use Friendica\BaseModule;
6 use Friendica\Core\L10n;
7 use Friendica\Network\HTTPException;
8
9 class PageNotFound extends BaseModule
10 {
11         public static function content(array $parameters = [])
12         {
13                 throw new HTTPException\NotFoundException(DI::l10n()->t('Page not found.'));
14         }
15 }