Skip to content

Conversation

Doc94
Copy link

@Doc94 Doc94 commented Sep 29, 2025

Related to https://moodle.atlassian.net/browse/MDL-73284 where MESSAGE_DEFAULT_LOGGEDOFF / MESSAGE_DEFAULT_LOGGEDIN was removed the docs still use that in docs and not the replacement.

@Copilot Copilot AI review requested due to automatic review settings September 29, 2025 22:48
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates documentation for Moodle's message API to reflect changes made in version 4.4+, where deprecated constants MESSAGE_DEFAULT_LOGGEDIN and MESSAGE_DEFAULT_LOGGEDOFF were replaced with MESSAGE_DEFAULT_ENABLED.

  • Updates code examples to use the new MESSAGE_DEFAULT_ENABLED constant instead of the deprecated ones
  • Updates documentation comments to reflect the simplified bit usage pattern
  • Applies these changes consistently across multiple documentation versions (4.4, 4.5, 5.0, and current docs)

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
docs/apis/core/message/index.md Updates current documentation with new constant usage
versioned_docs/version-5.0/apis/core/message/index.md Updates version 5.0 documentation with new constant usage
versioned_docs/version-4.5/apis/core/message/index.md Updates version 4.5 documentation with new constant usage
versioned_docs/version-4.4/apis/core/message/index.md Updates version 4.4 documentation with new constant usage

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

netlify bot commented Sep 29, 2025

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d3ea5b7
🔍 Latest deploy log https://app.netlify.com/projects/moodledevdocs/deploys/68db0cbcecb0340008cbacdd
😎 Deploy Preview https://deploy-preview-1442--moodledevdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant