original_string: public static function remove_messageinbound_handler($handler) {
          global $DB;
  
          // Delete Inbound Message datakeys.
          $DB->delete_records('messageinbound_datakeys', array('handler' => $handler->id));
  
          // Delete Inbound Message handlers.
          $DB->delete_records('messageinbound_handlers', array('id' => $handler->id));
      }
code: public static function remove_messageinbound_handler($handler) {
          global $DB;
  
          // Delete Inbound Message datakeys.
          $DB->delete_records('messageinbound_datakeys', array('handler' => $handler->id));
  
          // Delete Inbound Message handlers.
          $DB->delete_records('messageinbound_handlers', array('id' => $handler->id));
      }
code_tokens: public static function remove_messageinbound_handler ( $ handler ) { global $ DB ; // Delete Inbound Message datakeys. $ DB -> delete_records ( 'messageinbound_datakeys' , array ( 'handler' => $ handler -> id ) ) ; // Delete Inbound Message handlers. $ DB -> delete_records ( 'messageinbound_handlers' , array ( 'id' => $ handler -> id ) ) ; }
docstring: Remove the specified handler.
  
  @param \core\message\inbound\handler $handler The handler to remove
docstring_tokens: Remove the specified handler .