function quiz_update_6400 in Quiz 6.4
Implementation of hook_update_N(). quiz_node_question_properties has been considered deprecated. With the new multichoice module it is not beeing used at all, and therefore we remove it.
File
- ./
quiz.install, line 746 - Quiz install schema for installing the quiz module
Code
function quiz_update_6400() {
drupal_install_modules(array(
'autoload',
'quiz_question',
));
if (!module_exists('autoload')) {
return array(
'#abort' => array(
'success' => FALSE,
'query' => 'The <a href="http://drupal.org/project/autoload">Autoload</a> module is missing. You need to <a href="http://drupal.org/project/autoload">download</a> and enable autoload before you run update.php.',
),
);
}
$result = array();
db_drop_table($result, 'quiz_node_question_properties');
return $result;
}