original_string: protected static function export_tracking_data(int $userid, \stdClass $forum, int $tracked) {
          if (null !== $tracked) {
              // The user has a main preference to track all forums, but has opted out of this one.
              writer::with_context(\context_module::instance($forum->cmid))
                  ->export_metadata([], 'trackreadpreference', 0, get_string('privacy:readtrackingdisabled', 'mod_forum'));
  
              return true;
          }
  
          return false;
      }
code: protected static function export_tracking_data(int $userid, \stdClass $forum, int $tracked) {
          if (null !== $tracked) {
              // The user has a main preference to track all forums, but has opted out of this one.
              writer::with_context(\context_module::instance($forum->cmid))
                  ->export_metadata([], 'trackreadpreference', 0, get_string('privacy:readtrackingdisabled', 'mod_forum'));
  
              return true;
          }
  
          return false;
      }
code_tokens: protected static function export_tracking_data ( int $ userid , \ stdClass $ forum , int $ tracked ) { if ( null !== $ tracked ) { // The user has a main preference to track all forums, but has opted out of this one. writer :: with_context ( \ context_module :: instance ( $ forum -> cmid ) ) -> export_metadata ( [ ] , 'trackreadpreference' , 0 , get_string ( 'privacy:readtrackingdisabled' , 'mod_forum' ) ) ; return true ; } return false ; }
docstring: Store forum read-tracking data about a particular forum.
  
  This is whether a forum has read-tracking enabled or not.
  
  @param   int         $userid The userid of the user whose data is to be exported.
  @param   \stdClass   $forum The forum whose data is being exported.
  @param   int         $tracke if the user is subscribed
  @return  bool        Whether any data was stored.
docstring_tokens: Store forum read - tracking data about a particular forum .