Skip to content

Commit

Permalink
Don't fill texTemplateId anymore by default
Browse files Browse the repository at this point in the history
  • Loading branch information
CatoTH committed Nov 3, 2024
1 parent 794e416 commit 8d7155f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/motionTypeTemplates/Manifesto.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function doCreateManifestoType(Consultation $consultation): Consul
$type->policySupportMotions = (string)IPolicy::POLICY_NOBODY;
$type->policySupportAmendments = (string)IPolicy::POLICY_NOBODY;
$type->initiatorsCanMergeAmendments = ConsultationMotionType::INITIATORS_MERGE_NEVER;
$type->texTemplateId = ($config->xelatexPath || $config->lualatexPath ? 1 : null);
$type->texTemplateId = null;
$type->amendmentMultipleParagraphs = ConsultationMotionType::AMEND_PARAGRAPHS_MULTIPLE;
$type->motionLikesDislikes = 0;
$type->amendmentLikesDislikes = 0;
Expand Down
2 changes: 1 addition & 1 deletion models/motionTypeTemplates/Motion.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function doCreateMotionType(Consultation $consultation): Consultat
$type->policySupportMotions = (string)IPolicy::POLICY_NOBODY;
$type->policySupportAmendments = (string)IPolicy::POLICY_NOBODY;
$type->initiatorsCanMergeAmendments = ConsultationMotionType::INITIATORS_MERGE_NEVER;
$type->texTemplateId = ($config->xelatexPath || $config->lualatexPath ? 1 : null);
$type->texTemplateId = null;
$type->amendmentMultipleParagraphs = ConsultationMotionType::AMEND_PARAGRAPHS_MULTIPLE;
$type->motionLikesDislikes = 0;
$type->amendmentLikesDislikes = 0;
Expand Down
2 changes: 1 addition & 1 deletion models/motionTypeTemplates/Statutes.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static function doCreateStatutesType(Consultation $consultation): Consult
$type->policySupportMotions = (string)IPolicy::POLICY_NOBODY;
$type->policySupportAmendments = (string)IPolicy::POLICY_NOBODY;
$type->initiatorsCanMergeAmendments = ConsultationMotionType::INITIATORS_MERGE_NEVER;
$type->texTemplateId = ($config->xelatexPath || $config->lualatexPath ? 1 : null);
$type->texTemplateId = null;
$type->amendmentMultipleParagraphs = ConsultationMotionType::AMEND_PARAGRAPHS_MULTIPLE;
$type->motionLikesDislikes = 0;
$type->amendmentLikesDislikes = 0;
Expand Down

0 comments on commit 8d7155f

Please sign in to comment.