Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify precautions around hooks which dispatch on install/upgrade #1306

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

cameron1729
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Mar 24, 2025

Deploy Preview for moodledevdocs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 7c34d75
🔍 Latest deploy log https://app.netlify.com/sites/moodledevdocs/deploys/67e4ddaa6e251d0008e16f75
😎 Deploy Preview https://deploy-preview-1306--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 site configuration.

@cameron1729 cameron1729 force-pushed the hooks-during-install branch from fa165fc to 7c34d75 Compare March 27, 2025 05:10
@cameron1729
Copy link
Collaborator Author

Thanks @andrewnicols - I've updated the wording, removed line breaks, and added backticks.

@andrewnicols andrewnicols requested a review from Copilot April 3, 2025 03:54
Copy link

@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 pull request updates the documentation to clarify precautions required when handling hooks that may be dispatched during system installation or upgrade. Key changes include:

  • Updating the caution block to reference hooks instead of legacy callbacks.
  • Detailing additional checks required when the database or API calls are made during installation or upgrade.
  • Informing users about potential changes needed when porting legacy callbacks to hooks.

@andrewnicols andrewnicols added this pull request to the merge queue Apr 3, 2025
Merged via the queue into moodle:main with commit 0f0ad69 Apr 3, 2025
6 checks passed
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.

2 participants