mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-01-28 09:08:41 +00:00
fix todos/move to todo list
This commit is contained in:
parent
8144a3d81e
commit
e0dbea336c
|
|
@ -42,10 +42,6 @@ use phpOMS\Utils\Parser\Markdown\Markdown;
|
|||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @todo Orange-Management/Modules#79
|
||||
* Add category management
|
||||
* Categories cannot get managed right (created and edited). Categories need to have a language component.
|
||||
*/
|
||||
final class ApiController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -36,10 +36,6 @@ use phpOMS\Views\View;
|
|||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @todo Orange-Management/Modules#79
|
||||
* Add category management
|
||||
* Categories cannot get managed right (created and edited). Categories need to have a language component.
|
||||
*/
|
||||
final class BackendController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ declare(strict_types=1);
|
|||
namespace Modules\Knowledgebase\Controller;
|
||||
|
||||
use phpOMS\Module\ModuleAbstract;
|
||||
use phpOMS\Module\WebInterface;
|
||||
|
||||
/**
|
||||
* Task class.
|
||||
|
|
|
|||
|
|
@ -24,8 +24,6 @@ use phpOMS\Localization\Defaults\LanguageMapper;
|
|||
* @license OMS License 1.0
|
||||
* @link https://orange-management.org
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @todo Do I really want to create a relation to the language mapper? It's not really needed right?
|
||||
*/
|
||||
final class WikiCategoryL11nMapper extends DataMapperAbstract
|
||||
{
|
||||
|
|
@ -42,22 +40,6 @@ final class WikiCategoryL11nMapper extends DataMapperAbstract
|
|||
'wiki_category_l11n_language' => ['name' => 'wiki_category_l11n_language', 'type' => 'string', 'internal' => 'language'],
|
||||
];
|
||||
|
||||
/**
|
||||
* Has one relation.
|
||||
*
|
||||
* @var array<string, array{mapper:string, external:string, by?:string, column?:string, conditional?:bool}>
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $ownsOne = [
|
||||
'language' => [
|
||||
'mapper' => LanguageMapper::class,
|
||||
'external' => 'wiki_category_l11n_language',
|
||||
'by' => 'code2',
|
||||
'column' => 'code2',
|
||||
'conditional' => true,
|
||||
],
|
||||
];
|
||||
|
||||
/**
|
||||
* Primary table.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user