From 267e02b84acbb427889a4ac5f562affe0e8e2b37 Mon Sep 17 00:00:00 2001 From: Dmitrii Metelkin Date: Tue, 21 Nov 2023 22:08:50 +1100 Subject: [PATCH] issue #125: fix PHP deprecation notice --- classes/table/participants.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/classes/table/participants.php b/classes/table/participants.php index e41ca55..f1e6276 100644 --- a/classes/table/participants.php +++ b/classes/table/participants.php @@ -43,6 +43,12 @@ */ class participants extends \core_user\table\participants { + /** + * A list of roles that current user can view in a context. + * @var array + */ + protected $viewableroles; + /** * @var bool|mixed Is recompletion enabled in this course. */