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

Deprecated function in theme_boost_o365teams columns2 layout #2691

Open
weilai-irl opened this issue Nov 26, 2024 · 0 comments · May be fixed by #2692, #2693 or #2694
Open

Deprecated function in theme_boost_o365teams columns2 layout #2691

weilai-irl opened this issue Nov 26, 2024 · 0 comments · May be fixed by #2692, #2693 or #2694
Assignees
Labels
Issue type - bug Bugs in existing code that needs to be fixed. Plugin - theme_boost_o365teams Status - PR ready / pending release Dev is done and PR ready. Will be included in the next release.
Milestone

Comments

@weilai-irl
Copy link
Collaborator

When showing pages using columns2 layout in theme_boost_o365teams, if debugging is turned on, the page would should warning messages like this:

user_preference_allow_ajax_update() is deprecated. Please use the "core_user/repository" module instead.
line 41 of /lib/ajax/ajaxlib.php: call to debugging()
line 27 of /theme/boost_o365teams/layout/columns2.php: call to user_preference_allow_ajax_update()
line 1474 of /lib/outputrenderers.php: call to include()
line 1399 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 72 of /admin/themeselector.php: call to core_renderer->header()

This applies to Moodle 4.3/4.4/4.5.

The cause is the layout uses a deprecated function.

@weilai-irl weilai-irl added Issue type - bug Bugs in existing code that needs to be fixed. Status - PR ready / pending release Dev is done and PR ready. Will be included in the next release. Plugin - theme_boost_o365teams labels Nov 26, 2024
@weilai-irl weilai-irl added this to the 2025-01 milestone Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue type - bug Bugs in existing code that needs to be fixed. Plugin - theme_boost_o365teams Status - PR ready / pending release Dev is done and PR ready. Will be included in the next release.
Projects
None yet
2 participants