original_string: public static function delete_user_field_mapping($id) {
          require_capability('moodle/site:config', context_system::instance());
          $userfieldmapping = new user_field_mapping($id);
  
          // Will throw exceptions on validation failures.
          return $userfieldmapping->delete();
      }
code: public static function delete_user_field_mapping($id) {
          require_capability('moodle/site:config', context_system::instance());
          $userfieldmapping = new user_field_mapping($id);
  
          // Will throw exceptions on validation failures.
          return $userfieldmapping->delete();
      }
code_tokens: public static function delete_user_field_mapping ( $ id ) { require_capability ( 'moodle/site:config' , context_system :: instance ( ) ) ; $ userfieldmapping = new user_field_mapping ( $ id ) ; // Will throw exceptions on validation failures. return $ userfieldmapping -> delete ( ) ; }
docstring: Delete a user_field_mapping.
  
  Requires moodle/site:config capability at the system context.
  
  @param int $id The id of the user_field_mapping to delete.
  @return boolean
docstring_tokens: Delete a user_field_mapping .