follow moved removeDiacritics method

This commit is contained in:
Jean-Christian Paul Denis 2023-04-20 15:47:47 +02:00
parent 8c45946299
commit 12039d58fd
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951

View File

@ -16,7 +16,7 @@ namespace Dotclear\Plugin\Uninstaller;
use dcModuleDefine;
use dcNsProcess;
use dcUtils;
use Dotclear\Helper\Text;
use Exception;
/**
@ -106,7 +106,7 @@ class Uninstaller
}
uasort(
$this->modules,
fn ($a, $b) => dcUtils::removeDiacritics(mb_strtolower($a->get('name'))) <=> dcUtils::removeDiacritics(mb_strtolower($b->get('name')))
fn ($a, $b) => Text::removeDiacritics(mb_strtolower($a->get('name'))) <=> Text::removeDiacritics(mb_strtolower($b->get('name')))
);
return $this;