Release 0.255: migrate remaining Languages usages to repository DI

This commit is contained in:
2026-02-12 22:28:57 +01:00
parent a02f718a41
commit 5e9b998043
25 changed files with 95 additions and 44 deletions

View File

@@ -51,7 +51,7 @@ class ShopCategory
\S::get( 'id' )
),
\S::get( 'pid' ),
\admin\factory\Languages::languages_list()
( new \Domain\Languages\LanguagesRepository( $GLOBALS['mdb'] ) )->languagesList()
);
}
@@ -63,4 +63,4 @@ class ShopCategory
'dlang' => \front\factory\Languages::default_language()
] );
}
}
}