keep checks calm
Signed-off-by: dartcafe <github@dartcafe.de>
This commit is contained in:
Родитель
69787aa2e0
Коммит
1c8d167124
|
@ -111,10 +111,9 @@ class UserService {
|
|||
/**
|
||||
* find appropriate language
|
||||
*/
|
||||
|
||||
public function getGenericLanguage($compatibilityLanguageForNc22) {
|
||||
// TODO: Remove compatibily code after NC23 is minimum prerequisite
|
||||
if(Util::getVersion()[0] <= 22) {
|
||||
if (Util::getVersion()[0] < 23) {
|
||||
return $compatibilityLanguageForNc22;
|
||||
}
|
||||
return $this->transFactory->findGenericLanguage('polls');
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<files psalm-version="4.24.0@06dd975cb55d36af80f242561738f16c5f58264f">
|
||||
<files psalm-version="4.26.0@6998fabb2bf528b65777bf9941920888d23c03ac">
|
||||
<file src="lib/Db/Preferences.php">
|
||||
<UndefinedClass occurrences="2">
|
||||
<code>BackgroundService</code>
|
||||
|
@ -20,4 +20,9 @@
|
|||
<code>searchForPrincipal</code>
|
||||
</UndefinedInterfaceMethod>
|
||||
</file>
|
||||
<file src="lib/Service/UserService.php">
|
||||
<UndefinedInterfaceMethod occurrences="1">
|
||||
<code>findGenericLanguage</code>
|
||||
</UndefinedInterfaceMethod>
|
||||
</file>
|
||||
</files>
|
||||
|
|
Загрузка…
Ссылка в новой задаче