follow moved removeDiacritics method
This commit is contained in:
parent
8c45946299
commit
12039d58fd
@ -16,7 +16,7 @@ namespace Dotclear\Plugin\Uninstaller;
|
|||||||
|
|
||||||
use dcModuleDefine;
|
use dcModuleDefine;
|
||||||
use dcNsProcess;
|
use dcNsProcess;
|
||||||
use dcUtils;
|
use Dotclear\Helper\Text;
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -106,7 +106,7 @@ class Uninstaller
|
|||||||
}
|
}
|
||||||
uasort(
|
uasort(
|
||||||
$this->modules,
|
$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;
|
return $this;
|
||||||
|
Loading…
Reference in New Issue
Block a user