PMCORE-3869

This commit is contained in:
Mauricio Veliz
2022-06-06 16:56:29 -04:00
parent b3f57c2fd8
commit c7f234a4e3
13 changed files with 26 additions and 20 deletions

View File

@@ -465,7 +465,7 @@ class Configurations // extends Configuration
}
}
public function getDateFormats()
public static function getDateFormats()
{
$arrayFormat = array();
@@ -491,7 +491,7 @@ class Configurations // extends Configuration
return $arrayFormat;
}
public function getUserNameFormats()
public static function getUserNameFormats()
{
$formats[] = array('id' => '@firstName @lastName', //the id , don't translate
'name' => G::loadTranslation('ID_USERNAME_FORMAT_1') //label displayed, can be translated