- /**
- * No external code should be directly adding new type handlers - they should be added via a 'addtypes' array, returned
- * by MODNAME_dndupload_register.
- *
- * @deprecated deprecated since Moodle 2.5
- * @param string $type The name of the type (as declared in add_type)
- * @param string $module The name of the module to handle this type
- * @param string $message The message to show the user if more than one handler is registered
- * for a type and the user needs to make a choice between them
- * @param bool $noname If true, the 'name' dialog should be disabled in the pop-up.
- * @throws coding_exception
- */
- public function add_type_handler($type, $module, $message, $noname) {
- debugging('add_type_handler() is deprecated. Plugins should be using the MODNAME_dndupload_register callback.');
- $this->register_type_handler($type, $module, $message, $noname);
- }
-