From 5ac497b4b81f69752bb449fec8f7d48b31c92690 Mon Sep 17 00:00:00 2001 From: Thomas Niedermaier Date: Wed, 27 Nov 2024 15:29:35 +0100 Subject: [PATCH] replace the deprecated function with the proposed one --- classes/local/output_helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/local/output_helper.php b/classes/local/output_helper.php index a209d26..5f51279 100644 --- a/classes/local/output_helper.php +++ b/classes/local/output_helper.php @@ -179,7 +179,7 @@ public static function output_download_menu($ocinstanceid, $episodeid, $modinsta // Get the action menu options. $actionmenu = new action_menu(); - $actionmenu->set_alignment(action_menu::TL, action_menu::BL); + $actionmenu->set_menu_left(); $actionmenu->prioritise = true; $actionmenu->actionicon = new pix_icon('t/down', get_string('downloadvideo', 'mod_opencast')); $actionmenu->actiontext = 'Download';