From 8dd971aa3a998412705216fdbb52a3eb2e5af9c6 Mon Sep 17 00:00:00 2001 From: Guillaume <139738084+gbarat87@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:51:59 +1000 Subject: [PATCH] Update index.md $plugin->incompatible $plugin->incompatible = [401]; Wrongly defined in the example --- docs/apis/commonfiles/version.php/index.md | 4 ++-- .../version-4.1/apis/commonfiles/version.php/index.md | 2 +- .../version-4.3/apis/commonfiles/version.php/index.md | 2 +- .../version-4.4/apis/commonfiles/version.php/index.md | 4 ++-- .../version-4.5/apis/commonfiles/version.php/index.md | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/apis/commonfiles/version.php/index.md b/docs/apis/commonfiles/version.php/index.md index 1695182990..f38a378b49 100644 --- a/docs/apis/commonfiles/version.php/index.md +++ b/docs/apis/commonfiles/version.php/index.md @@ -7,7 +7,7 @@ tags: description: A description of the plugin version.php file, describing the various features --- -import { LanguageProperty, } from '@site/src/components'; +import { LanguageProperty } from '@site/src/components'; Every plugin must have a `version.php` file located in the root directory of that plugin. @@ -194,7 +194,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->version = 2022060100; $plugin->requires = 2022041900.00; // Moodle 4.0. $plugin->supported = [400, 400]; -$plugin->incompatible = [401]; +$plugin->incompatible = 401; $plugin->component = 'tool_example'; $plugin->maturity = MATURITY_STABLE; $plugin->release = '41.3-lemmings-1.0'; diff --git a/versioned_docs/version-4.1/apis/commonfiles/version.php/index.md b/versioned_docs/version-4.1/apis/commonfiles/version.php/index.md index bbb009d448..f38a378b49 100644 --- a/versioned_docs/version-4.1/apis/commonfiles/version.php/index.md +++ b/versioned_docs/version-4.1/apis/commonfiles/version.php/index.md @@ -194,7 +194,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->version = 2022060100; $plugin->requires = 2022041900.00; // Moodle 4.0. $plugin->supported = [400, 400]; -$plugin->incompatible = [401]; +$plugin->incompatible = 401; $plugin->component = 'tool_example'; $plugin->maturity = MATURITY_STABLE; $plugin->release = '41.3-lemmings-1.0'; diff --git a/versioned_docs/version-4.3/apis/commonfiles/version.php/index.md b/versioned_docs/version-4.3/apis/commonfiles/version.php/index.md index bbb009d448..f38a378b49 100644 --- a/versioned_docs/version-4.3/apis/commonfiles/version.php/index.md +++ b/versioned_docs/version-4.3/apis/commonfiles/version.php/index.md @@ -194,7 +194,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->version = 2022060100; $plugin->requires = 2022041900.00; // Moodle 4.0. $plugin->supported = [400, 400]; -$plugin->incompatible = [401]; +$plugin->incompatible = 401; $plugin->component = 'tool_example'; $plugin->maturity = MATURITY_STABLE; $plugin->release = '41.3-lemmings-1.0'; diff --git a/versioned_docs/version-4.4/apis/commonfiles/version.php/index.md b/versioned_docs/version-4.4/apis/commonfiles/version.php/index.md index 1695182990..f38a378b49 100644 --- a/versioned_docs/version-4.4/apis/commonfiles/version.php/index.md +++ b/versioned_docs/version-4.4/apis/commonfiles/version.php/index.md @@ -7,7 +7,7 @@ tags: description: A description of the plugin version.php file, describing the various features --- -import { LanguageProperty, } from '@site/src/components'; +import { LanguageProperty } from '@site/src/components'; Every plugin must have a `version.php` file located in the root directory of that plugin. @@ -194,7 +194,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->version = 2022060100; $plugin->requires = 2022041900.00; // Moodle 4.0. $plugin->supported = [400, 400]; -$plugin->incompatible = [401]; +$plugin->incompatible = 401; $plugin->component = 'tool_example'; $plugin->maturity = MATURITY_STABLE; $plugin->release = '41.3-lemmings-1.0'; diff --git a/versioned_docs/version-4.5/apis/commonfiles/version.php/index.md b/versioned_docs/version-4.5/apis/commonfiles/version.php/index.md index 1695182990..f38a378b49 100644 --- a/versioned_docs/version-4.5/apis/commonfiles/version.php/index.md +++ b/versioned_docs/version-4.5/apis/commonfiles/version.php/index.md @@ -7,7 +7,7 @@ tags: description: A description of the plugin version.php file, describing the various features --- -import { LanguageProperty, } from '@site/src/components'; +import { LanguageProperty } from '@site/src/components'; Every plugin must have a `version.php` file located in the root directory of that plugin. @@ -194,7 +194,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->version = 2022060100; $plugin->requires = 2022041900.00; // Moodle 4.0. $plugin->supported = [400, 400]; -$plugin->incompatible = [401]; +$plugin->incompatible = 401; $plugin->component = 'tool_example'; $plugin->maturity = MATURITY_STABLE; $plugin->release = '41.3-lemmings-1.0';