Skip to content

Commit 2ac4f3d

Browse files
committed
Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
1 parent 36110a4 commit 2ac4f3d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changes
66

77
### Unreleased
88

9+
* 2024-10-14 - Upgrade: Adopt changes from MDL-82183 and use new \core\output\html_writer
910
* 2024-10-14 - Upgrade: Adopt changes from MDL-81960 and use new \core\url class
1011
* 2024-10-07 - Prepare compatibility for Moodle 4.5.
1112

settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
$choices = [1 => 1, 2 => 2, 5 => 5, 10 => 10, 30 => 30, 60 => 60, 90 => 90,
4848
120 => 120, 180 => 180, 240 => 240, 300 => 300, ];
4949
$sessionhandlingurl = new \core\url('/admin/settings.php', ['section' => 'sessionhandling']);
50-
$link = \html_writer::link($sessionhandlingurl, get_string('sessionhandling', 'core_admin'));
50+
$link = \core\output\html_writer::link($sessionhandlingurl, get_string('sessionhandling', 'core_admin'));
5151
$sessiontimeoutmin = floor(($CFG->sessiontimeout / 60));
5252
$sessiontimeoutwarningmin = floor(($CFG->sessiontimeoutwarning / 60));
5353
$page->add(new admin_setting_configselect('local_session_keepalive/keepaliveinterval',

0 commit comments

Comments
 (0)