From 46e40567fa46c0f5285a168ccc66eaac6e51ae3f Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Mon, 17 Oct 2011 11:42:41 +0100 Subject: [PATCH] MDL-28614 qtypes: get_editing_head_contributions not used any more. Remove from base class. --- question/type/questiontypebase.php | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/question/type/questiontypebase.php b/question/type/questiontypebase.php index 43585529554..12f16e4eecc 100644 --- a/question/type/questiontypebase.php +++ b/question/type/questiontypebase.php @@ -863,22 +863,9 @@ class question_type { } /** - * Like @see{get_html_head_contributions}, but this method is for CSS and - * JavaScript required on the question editing page question/question.php. - */ - public function get_editing_head_contributions() { - // By default, we link to any of the files styles.css, styles.php, - // script.js or script.php that exist in the plugin folder. - // Core question types should not use this mechanism. Their styles - // should be included in the standard theme. - $this->find_standard_scripts(); - } - - /** - * Utility method used by @see{get_html_head_contributions} and - * @see{get_editing_head_contributions}. This looks for any of the files - * script.js or script.php that exist in the plugin folder and ensures they - * get included. + * Utility method used by {@link qtype_renderer::head_code()}. It looks + * for any of the files script.js or script.php that exist in the plugin + * folder and ensures they get included. */ public function find_standard_scripts() { global $PAGE;