Skip to content

Commit 620da64

Browse files
authored
Update index.md
get_user_preference -> get_user_preferences()
1 parent 894cd71 commit 620da64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/apis/subsystems/privacy/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ You need to provide a description of the value of the user preference. (This des
643643
* @param int $userid The userid of the user whose data is to be exported.
644644
*/
645645
public static function export_user_preferences(int $userid) {
646-
$markasreadonnotification = get_user_preference('markasreadonnotification', null, $userid);
646+
$markasreadonnotification = get_user_preferences('markasreadonnotification', null, $userid);
647647
if (null !== $markasreadonnotification) {
648648
switch ($markasreadonnotification) {
649649
case 0:

0 commit comments

Comments
 (0)