1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-08 15:57:01 +02:00

Minor adjustments

This commit is contained in:
Ryan Cramer
2017-01-03 05:13:21 -05:00
parent 51bda526eb
commit 0d8cce638c
2 changed files with 3 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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) {