Move L10n class from L10n subdir to Core (replacing old wrapper)

This commit is contained in:
nupplaPhil 2020-01-18 20:59:39 +01:00
parent 67f2066b8b
commit 2838635d64
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
30 changed files with 356 additions and 492 deletions

View file

@ -915,15 +915,16 @@ class User
*
* It's here as a function because the mail is sent from different parts
*
* @param L10n\L10n $l10n The used language
* @param array $user User record array
* @param string $sitename
* @param string $siteurl
* @param string $password Plaintext password
* @param \Friendica\Core\L10n $l10n The used language
* @param array $user User record array
* @param string $sitename
* @param string $siteurl
* @param string $password Plaintext password
*
* @return NULL|boolean from notification() and email() inherited
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
public static function sendRegisterOpenEmail(L10n\L10n $l10n, $user, $sitename, $siteurl, $password)
public static function sendRegisterOpenEmail(\Friendica\Core\L10n $l10n, $user, $sitename, $siteurl, $password)
{
$preamble = Strings::deindent($l10n->t(
'