Skip to content

MBS-10835: Reset backlink cache after learningmap restore - #174

Open
sh-csg wants to merge 1 commit into
masterfrom
MBS-10835-Reset-backlink-cache-after-learningmap-restore
Open

MBS-10835: Reset backlink cache after learningmap restore#174
sh-csg wants to merge 1 commit into
masterfrom
MBS-10835-Reset-backlink-cache-after-learningmap-restore

Conversation

@sh-csg

@sh-csg sh-csg commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@sh-csg
sh-csg requested a review from Copilot June 5, 2026 08:51
@sh-csg sh-csg self-assigned this Jun 5, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Ensures learningmap “back to map” backlinks are up-to-date immediately after a learningmap activity is restored, by explicitly resetting the plugin’s backlink cache for the restored course.

Changes:

  • Import mod_learningmap\cachemanager in the restore task.
  • Reset the backlink cache for the course at the end of after_restore().
  • Update the file header copyright year range.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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