original_string: public static function disable_issuer($id) {
          require_capability('moodle/site:config', context_system::instance());
          $issuer = new issuer($id);
  
          $issuer->set('enabled', 0);
          return $issuer->update();
      }
code: public static function disable_issuer($id) {
          require_capability('moodle/site:config', context_system::instance());
          $issuer = new issuer($id);
  
          $issuer->set('enabled', 0);
          return $issuer->update();
      }
code_tokens: public static function disable_issuer ( $ id ) { require_capability ( 'moodle/site:config' , context_system :: instance ( ) ) ; $ issuer = new issuer ( $ id ) ; $ issuer -> set ( 'enabled' , 0 ) ; return $ issuer -> update ( ) ; }
docstring: Disable an identity issuer.
  
  Requires moodle/site:config capability at the system context.
  
  @param int $id The id of the identity issuer to disable.
  @return boolean
docstring_tokens: Disable an identity issuer .