MDL-20636 Conversion of the description question type.

This commit is contained in:
Tim Hunt
2011-01-13 18:35:54 +00:00
parent 481dc639b3
commit 32d8935c8d
7 changed files with 102 additions and 143 deletions
+1 -1
View File
@@ -813,7 +813,7 @@ ORDER BY
* @param array $questionids of question ids.
* @return boolean whether any of these questions are being used by the question engine.
*/
public static function questions_in_use(array $questionids) {
public function questions_in_use(array $questionids) {
list($test, $params) = $this->db->get_in_or_equal($questionids);
return $this->db->record_exists_select('question_attempts',
'questionid ' . $test, $params);