From 0d8cce638c7d0f220cf5978108b7fa3414357480 Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Tue, 3 Jan 2017 05:13:21 -0500 Subject: [PATCH] Minor adjustments --- .../Fieldtype/FieldtypeComments/FieldtypeComments.module | 1 + .../TextformatterMarkdownExtra.module | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module b/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module index fb19ae2d..1a0b3d85 100644 --- a/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module +++ b/wire/modules/Fieldtype/FieldtypeComments/FieldtypeComments.module @@ -542,6 +542,7 @@ class FieldtypeComments extends FieldtypeMulti { $schema['keys']['pages_id'] = "KEY `pages_id` (`pages_id`,`status`,`created`)"; $schema['keys']['created'] = "KEY `created` (`created`, `status`)"; $schema['keys']['data'] = "FULLTEXT KEY `data` (`data`)"; + $schema['xtra']['all'] = false; return $schema; } diff --git a/wire/modules/Textformatter/TextformatterMarkdownExtra/TextformatterMarkdownExtra.module b/wire/modules/Textformatter/TextformatterMarkdownExtra/TextformatterMarkdownExtra.module index bb6dd0dc..55f06eee 100644 --- a/wire/modules/Textformatter/TextformatterMarkdownExtra/TextformatterMarkdownExtra.module +++ b/wire/modules/Textformatter/TextformatterMarkdownExtra/TextformatterMarkdownExtra.module @@ -28,7 +28,7 @@ class TextformatterMarkdownExtra extends Textformatter implements ConfigurableMo const flavorParsedownExtra = 2; const flavorParsedown = 4; const flavorMarkdownExtra = 2; - const flavorRCD = 16; // add RCD extensions to one of above, @see markdownExtensions() method + const flavorRCD = 16; // add RCD extensions to one of above, @see markdownExtensions() method (@deprecated) public function __construct() { $this->set('flavor', self::flavorDefault); @@ -80,6 +80,7 @@ class TextformatterMarkdownExtra extends Textformatter implements ConfigurableMo * A few RCD extentions to MarkDown syntax, to be executed after Markdown has already had it's way with the text * * @param string $str + * @deprecated * */ public function markdownExtensions(&$str) {