PMCORE-3869

This commit is contained in:
Mauricio Veliz
2022-06-06 16:56:29 -04:00
parent 6fde6c49f5
commit 75620ff893
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