Move L10n::t() calls to DI::l10n()->t() calls
This commit is contained in:
@@ -25,7 +25,7 @@ class Maintenance extends BaseModule
|
||||
}
|
||||
|
||||
$exception = new HTTPException\ServiceUnavailableException($reason);
|
||||
$exception->httpdesc = L10n::t('System down for maintenance');
|
||||
$exception->httpdesc = DI::l10n()->t('System down for maintenance');
|
||||
throw $exception;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user