From 620da640a026a03b149da00a00d4c40fd340f94f Mon Sep 17 00:00:00 2001 From: MichaelReyesCatcan <146975960+MichaelReyesCatcan@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:01:24 -0400 Subject: [PATCH] Update index.md get_user_preference -> get_user_preferences() --- docs/apis/subsystems/privacy/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/subsystems/privacy/index.md b/docs/apis/subsystems/privacy/index.md index 0b056ea84d..fd7e40c207 100644 --- a/docs/apis/subsystems/privacy/index.md +++ b/docs/apis/subsystems/privacy/index.md @@ -643,7 +643,7 @@ You need to provide a description of the value of the user preference. (This des * @param int $userid The userid of the user whose data is to be exported. */ public static function export_user_preferences(int $userid) { - $markasreadonnotification = get_user_preference('markasreadonnotification', null, $userid); + $markasreadonnotification = get_user_preferences('markasreadonnotification', null, $userid); if (null !== $markasreadonnotification) { switch ($markasreadonnotification) { case 0: