follow moved removeDiacritics method

master
Jean-Christian Paul Denis 2023-04-20 15:47:47 +02:00
parent 8c45946299
commit 12039d58fd
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 2 additions and 2 deletions

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;