mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-01-31 10:48:41 +00:00
too many changes
This commit is contained in:
parent
781f547c96
commit
91974b05c9
|
|
@ -152,7 +152,13 @@ final class Installer extends InstallerAbstract
|
|||
$type = $responseData['response'];
|
||||
$id = $type->getId();
|
||||
|
||||
$isFirst = true;
|
||||
foreach ($data['l11n'] as $l11n) {
|
||||
if ($isFirst) {
|
||||
$isFirst = false;
|
||||
continue;
|
||||
}
|
||||
|
||||
$response = new HttpResponse();
|
||||
$request = new HttpRequest(new HttpUri(''));
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ final class ApiController extends Controller
|
|||
$l11nEditorDocType = $this->createEditorDocTypeL11nFromRequest($request);
|
||||
$this->createModel($request->header->account, $l11nEditorDocType, EditorDocTypeL11nMapper::class, 'editor_doc_type_l11n', $request->getOrigin());
|
||||
|
||||
$this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Localization', 'Category localization successfully created', $l11nEditorDocType);
|
||||
$this->fillJsonResponse($request, $response, NotificationLevel::OK, 'Localization', 'Localization successfully created', $l11nEditorDocType);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ final class EditorDocHistoryMapper extends DataMapperFactory
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const PRIMARYFIELD ='editor_doc_versioned_id';
|
||||
public const PRIMARYFIELD = 'editor_doc_versioned_id';
|
||||
|
||||
/**
|
||||
* Created at.
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ final class EditorDocMapper extends DataMapperFactory
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const PRIMARYFIELD ='editor_doc_id';
|
||||
public const PRIMARYFIELD = 'editor_doc_id';
|
||||
|
||||
/**
|
||||
* Created at.
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ final class EditorDocTypeL11nMapper extends DataMapperFactory
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const PRIMARYFIELD ='editor_doc_type_l11n_id';
|
||||
public const PRIMARYFIELD = 'editor_doc_type_l11n_id';
|
||||
|
||||
/**
|
||||
* Model to use by the mapper.
|
||||
|
|
|
|||
|
|
@ -76,5 +76,5 @@ final class EditorDocTypeMapper extends DataMapperFactory
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const PRIMARYFIELD ='editor_doc_type_id';
|
||||
public const PRIMARYFIELD = 'editor_doc_type_id';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "karaka/module",
|
||||
"description": "Module for Karaka.",
|
||||
"description": "Module for Jingga.",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Dennis Eichhorn",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user