Skip to content

Only show to admins if prod#263

Merged
dmitriim merged 2 commits into
MOODLE_405_STABLEfrom
jay-oswald-patch-1
Feb 5, 2026
Merged

Only show to admins if prod#263
dmitriim merged 2 commits into
MOODLE_405_STABLEfrom
jay-oswald-patch-1

Conversation

@jay-oswald

Copy link
Copy Markdown
Contributor

No description provided.

@jay-oswald jay-oswald requested a review from Copilot February 5, 2026 23:48
Comment thread classes/hook_callbacks.php Outdated

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

This PR modifies the environment bar visibility logic to restrict its display to admin users when running in a production environment.

Changes:

  • Updated the condition for showing the environment bar to include a production environment check

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

Comment thread classes/hook_callbacks.php
@dmitriim dmitriim merged commit acd978a into MOODLE_405_STABLE Feb 5, 2026
10 checks passed
@dmitriim dmitriim deleted the jay-oswald-patch-1 branch February 5, 2026 23:54
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.

3 participants