MDL-20636 Fix some more codechecker issues.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Sat, 14 May 2011 21:53:25 +0000 (22:53 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Sat, 14 May 2011 21:53:25 +0000 (22:53 +0100)
commit9c197f4445212c5e5a3716e364db73b1c214db3c
tree567095880bb7ad3f59446bf7b1f88daefea57e6d
parentbee82469d463a3dd14ea56571630a48c35139a52
MDL-20636 Fix some more codechecker issues.
312 files changed:
lib/questionlib.php
lib/simpletest/testquestionlib.php
question/addquestion.php
question/behaviour/adaptive/behaviour.php
question/behaviour/adaptive/lang/en/qbehaviour_adaptive.php
question/behaviour/adaptive/renderer.php
question/behaviour/adaptive/simpletest/testwalkthrough.php
question/behaviour/adaptivenopenalty/behaviour.php
question/behaviour/adaptivenopenalty/lang/en/qbehaviour_adaptivenopenalty.php
question/behaviour/adaptivenopenalty/renderer.php
question/behaviour/adaptivenopenalty/simpletest/testwalkthrough.php
question/behaviour/behaviourbase.php
question/behaviour/deferredcbm/behaviour.php
question/behaviour/deferredcbm/lang/en/qbehaviour_deferredcbm.php
question/behaviour/deferredcbm/renderer.php
question/behaviour/deferredcbm/simpletest/testwalkthrough.php
question/behaviour/deferredfeedback/behaviour.php
question/behaviour/deferredfeedback/lang/en/qbehaviour_deferredfeedback.php
question/behaviour/deferredfeedback/renderer.php
question/behaviour/deferredfeedback/simpletest/testwalkthrough.php
question/behaviour/immediatecbm/behaviour.php
question/behaviour/immediatecbm/lang/en/qbehaviour_immediatecbm.php
question/behaviour/immediatecbm/renderer.php
question/behaviour/immediatecbm/simpletest/testwalkthrough.php
question/behaviour/immediatefeedback/behaviour.php
question/behaviour/immediatefeedback/lang/en/qbehaviour_immediatefeedback.php
question/behaviour/immediatefeedback/renderer.php
question/behaviour/immediatefeedback/simpletest/testwalkthrough.php
question/behaviour/informationitem/behaviour.php
question/behaviour/informationitem/lang/en/qbehaviour_informationitem.php
question/behaviour/informationitem/renderer.php
question/behaviour/informationitem/simpletest/testwalkthrough.php
question/behaviour/interactive/behaviour.php
question/behaviour/interactive/lang/en/qbehaviour_interactive.php
question/behaviour/interactive/renderer.php
question/behaviour/interactive/simpletest/testwalkthrough.php
question/behaviour/interactivecountback/behaviour.php
question/behaviour/interactivecountback/lang/en/qbehaviour_interactivecountback.php
question/behaviour/interactivecountback/renderer.php
question/behaviour/interactivecountback/simpletest/testwalkthrough.php
question/behaviour/manualgraded/behaviour.php
question/behaviour/manualgraded/lang/en/qbehaviour_manualgraded.php
question/behaviour/manualgraded/renderer.php
question/behaviour/manualgraded/simpletest/testwalkthrough.php
question/behaviour/missing/behaviour.php
question/behaviour/missing/lang/en/qbehaviour_missing.php
question/behaviour/missing/renderer.php
question/behaviour/missing/simpletest/testmissingbehaviour.php
question/behaviour/opaque/behaviour.php
question/behaviour/opaque/lang/en/qbehaviour_opaque.php
question/behaviour/opaque/renderer.php
question/behaviour/opaque/simpletest/testopaquebehaviour.php
question/behaviour/rendererbase.php
question/category.php
question/category_class.php
question/category_form.php
question/edit.php
question/editlib.php
question/engine/bank.php
question/engine/datalib.php
question/engine/lib.php
question/engine/questionattempt.php
question/engine/questionattemptstep.php
question/engine/questionusage.php
question/engine/renderer.php
question/engine/simpletest/helpers.php
question/engine/simpletest/testdatalib.php
question/engine/simpletest/testquestionattempt.php
question/engine/simpletest/testquestionattemptiterator.php
question/engine/simpletest/testquestionattemptstep.php
question/engine/simpletest/testquestionattemptstepiterator.php
question/engine/simpletest/testquestionbank.php
question/engine/simpletest/testquestioncbm.php
question/engine/simpletest/testquestionengine.php
question/engine/simpletest/testquestionstate.php
question/engine/simpletest/testquestionusagebyactivity.php
question/engine/simpletest/testquestionutils.php
question/engine/states.php
question/engine/upgrade/logger.php
question/engine/upgrade/simpletest/helper.php
question/engine/upgrade/upgradelib.php
question/export.php
question/export_form.php
question/format.php
question/format/aiken/format.php
question/format/aiken/lang/en/qformat_aiken.php
question/format/blackboard/format.php
question/format/blackboard/lang/en/qformat_blackboard.php
question/format/blackboard_six/format.php
question/format/blackboard_six/lang/en/qformat_blackboard_six.php
question/format/examview/format.php
question/format/examview/lang/en/qformat_examview.php
question/format/gift/format.php
question/format/gift/lang/en/qformat_gift.php
question/format/gift/simpletest/testgiftformat.php
question/format/learnwise/format.php
question/format/learnwise/lang/en/qformat_learnwise.php
question/format/missingword/format.php
question/format/missingword/lang/en/qformat_missingword.php
question/format/multianswer/format.php
question/format/multianswer/lang/en/qformat_multianswer.php
question/format/qti_two/custommediafilter.php
question/format/qti_two/format.php
question/format/qti_two/lang/en/qformat_qti_two.php
question/format/qti_two/qt_common.php
question/format/webct/format.php
question/format/webct/lang/en/qformat_webct.php
question/format/xhtml/format.php
question/format/xhtml/lang/en/qformat_xhtml.php
question/format/xml/format.php
question/format/xml/lang/en/qformat_xml.php
question/format/xml/simpletest/testxmlformat.php
question/import.php
question/import_form.php
question/move_form.php
question/preview.php
question/previewlib.php
question/question.php
question/simpletest/testimportexport.php
question/toggleflag.php
question/type/calculated/backup/moodle2/backup_qtype_calculated_plugin.class.php
question/type/calculated/backup/moodle2/restore_qtype_calculated_plugin.class.php
question/type/calculated/datasetdefinitions_form.php
question/type/calculated/datasetitems_form.php
question/type/calculated/db/upgrade.php
question/type/calculated/edit_calculated_form.php
question/type/calculated/lang/en/qtype_calculated.php
question/type/calculated/lib.php
question/type/calculated/questiontype.php
question/type/calculated/version.php
question/type/calculatedmulti/backup/moodle2/backup_qtype_calculatedmulti_plugin.class.php
question/type/calculatedmulti/backup/moodle2/restore_qtype_calculatedmulti_plugin.class.php
question/type/calculatedmulti/edit_calculatedmulti_form.php
question/type/calculatedmulti/lang/en/qtype_calculatedmulti.php
question/type/calculatedmulti/lib.php
question/type/calculatedmulti/questiontype.php
question/type/calculatedsimple/backup/moodle2/backup_qtype_calculatedsimple_plugin.class.php
question/type/calculatedsimple/backup/moodle2/restore_qtype_calculatedsimple_plugin.class.php
question/type/calculatedsimple/edit_calculatedsimple_form.php
question/type/calculatedsimple/lang/en/qtype_calculatedsimple.php
question/type/calculatedsimple/lib.php
question/type/calculatedsimple/questiontype.php
question/type/ddwtos/backup/moodle2/backup_qtype_ddwtos_plugin.class.php
question/type/ddwtos/backup/moodle2/restore_qtype_ddwtos_plugin.class.php
question/type/ddwtos/edit_ddwtos_form.php
question/type/ddwtos/lang/en/qtype_ddwtos.php
question/type/ddwtos/question.php
question/type/ddwtos/questiontype.php
question/type/ddwtos/renderer.php
question/type/ddwtos/simpletest/helper.php
question/type/ddwtos/simpletest/testquestion.php
question/type/ddwtos/simpletest/testquestiontype.php
question/type/ddwtos/simpletest/testwalkthrough.php
question/type/ddwtos/version.php
question/type/description/lang/en/qtype_description.php
question/type/description/question.php
question/type/description/questiontype.php
question/type/description/renderer.php
question/type/description/simpletest/testquestiontype.php
question/type/description/version.php
question/type/edit_question_form.php
question/type/essay/backup/moodle2/backup_qtype_essay_plugin.class.php
question/type/essay/backup/moodle2/restore_qtype_essay_plugin.class.php
question/type/essay/db/upgrade.php
question/type/essay/edit_essay_form.php
question/type/essay/lang/en/qtype_essay.php
question/type/essay/lib.php
question/type/essay/question.php
question/type/essay/questiontype.php
question/type/essay/renderer.php
question/type/essay/simpletest/testquestion.php
question/type/essay/simpletest/testquestiontype.php
question/type/essay/version.php
question/type/gapselect/backup/moodle2/backup_qtype_gapselect_plugin.class.php
question/type/gapselect/backup/moodle2/restore_qtype_gapselect_plugin.class.php
question/type/gapselect/edit_form_base.php
question/type/gapselect/edit_gapselect_form.php
question/type/gapselect/lang/en/qtype_gapselect.php
question/type/gapselect/question.php
question/type/gapselect/questionbase.php
question/type/gapselect/questiontype.php
question/type/gapselect/questiontypebase.php
question/type/gapselect/renderer.php
question/type/gapselect/rendererbase.php
question/type/gapselect/simpletest/helper.php
question/type/gapselect/simpletest/testquestion.php
question/type/gapselect/simpletest/testquestiontype.php
question/type/gapselect/simpletest/testwalkthrough.php
question/type/gapselect/version.php
question/type/match/backup/moodle2/backup_qtype_match_plugin.class.php
question/type/match/backup/moodle2/restore_qtype_match_plugin.class.php
question/type/match/db/upgrade.php
question/type/match/edit_match_form.php
question/type/match/lang/en/qtype_match.php
question/type/match/lib.php
question/type/match/question.php
question/type/match/questiontype.php
question/type/match/renderer.php
question/type/match/simpletest/testquestion.php
question/type/match/simpletest/testquestiontype.php
question/type/match/simpletest/testwalkthrough.php
question/type/match/version.php
question/type/missingtype/edit_missingtype_form.php
question/type/missingtype/lang/en/qtype_missingtype.php
question/type/missingtype/question.php
question/type/missingtype/questiontype.php
question/type/missingtype/renderer.php
question/type/missingtype/simpletest/testmissingtype.php
question/type/missingtype/version.php
question/type/multianswer/backup/moodle2/backup_qtype_multianswer_plugin.class.php
question/type/multianswer/backup/moodle2/restore_qtype_multianswer_plugin.class.php
question/type/multianswer/db/upgrade.php
question/type/multianswer/edit_multianswer_form.php
question/type/multianswer/lang/en/qtype_multianswer.php
question/type/multianswer/questiontype.php
question/type/multianswer/version.php
question/type/multichoice/backup/moodle2/backup_qtype_multichoice_plugin.class.php
question/type/multichoice/backup/moodle2/restore_qtype_multichoice_plugin.class.php
question/type/multichoice/db/upgrade.php
question/type/multichoice/edit_multichoice_form.php
question/type/multichoice/lang/en/qtype_multichoice.php
question/type/multichoice/lib.php
question/type/multichoice/question.php
question/type/multichoice/questiontype.php
question/type/multichoice/renderer.php
question/type/multichoice/simpletest/testquestion.php
question/type/multichoice/simpletest/testquestiontype.php
question/type/multichoice/simpletest/testwalkthrough.php
question/type/multichoice/version.php
question/type/numerical/backup/moodle2/backup_qtype_numerical_plugin.class.php
question/type/numerical/backup/moodle2/restore_qtype_numerical_plugin.class.php
question/type/numerical/db/upgrade.php
question/type/numerical/edit_numerical_form.php
question/type/numerical/lang/en/qtype_numerical.php
question/type/numerical/lib.php
question/type/numerical/question.php
question/type/numerical/questiontype.php
question/type/numerical/renderer.php
question/type/numerical/simpletest/helper.php
question/type/numerical/simpletest/testanswer.php
question/type/numerical/simpletest/testanswerprocessor.php
question/type/numerical/simpletest/testquestion.php
question/type/numerical/simpletest/testquestiontype.php
question/type/numerical/simpletest/testwalkthrough.php
question/type/numerical/version.php
question/type/opaque/backup/moodle2/backup_qtype_opaque_plugin.class.php
question/type/opaque/backup/moodle2/restore_qtype_opaque_plugin.class.php
question/type/opaque/edit_engine_form.php
question/type/opaque/edit_opaque_form.php
question/type/opaque/editengine.php
question/type/opaque/engines.php
question/type/opaque/file.php
question/type/opaque/lang/en/qtype_opaque.php
question/type/opaque/locallib.php
question/type/opaque/question.php
question/type/opaque/questiontype.php
question/type/opaque/renderer.php
question/type/opaque/settings.php
question/type/opaque/simpletest/testlocallib.php
question/type/opaque/simpletest/testquestiontype.php
question/type/opaque/testengine.php
question/type/opaque/version.php
question/type/oumultiresponse/backup/moodle2/backup_qtype_oumultiresponse_plugin.class.php
question/type/oumultiresponse/backup/moodle2/restore_qtype_oumultiresponse_plugin.class.php
question/type/oumultiresponse/edit_oumultiresponse_form.php
question/type/oumultiresponse/lang/en/qtype_oumultiresponse.php
question/type/oumultiresponse/question.php
question/type/oumultiresponse/questiontype.php
question/type/oumultiresponse/simpletest/helper.php
question/type/oumultiresponse/simpletest/testquestion.php
question/type/oumultiresponse/simpletest/testquestiontype.php
question/type/oumultiresponse/simpletest/testwalkthrough.php
question/type/oumultiresponse/version.php
question/type/questionbase.php
question/type/questiontype.php
question/type/random/backup/moodle2/restore_qtype_random_plugin.class.php
question/type/random/edit_random_form.php
question/type/random/lang/en/qtype_random.php
question/type/random/questiontype.php
question/type/random/simpletest/testquestiontype.php
question/type/random/version.php
question/type/randomsamatch/backup/moodle2/backup_qtype_randomsamatch_plugin.class.php
question/type/randomsamatch/backup/moodle2/restore_qtype_randomsamatch_plugin.class.php
question/type/randomsamatch/edit_randomsamatch_form.php
question/type/randomsamatch/lang/en/qtype_randomsamatch.php
question/type/randomsamatch/questiontype.php
question/type/randomsamatch/version.php
question/type/rendererbase.php
question/type/shortanswer/backup/moodle2/backup_qtype_shortanswer_plugin.class.php
question/type/shortanswer/backup/moodle2/restore_qtype_shortanswer_plugin.class.php
question/type/shortanswer/edit_shortanswer_form.php
question/type/shortanswer/lang/en/qtype_shortanswer.php
question/type/shortanswer/lib.php
question/type/shortanswer/question.php
question/type/shortanswer/questiontype.php
question/type/shortanswer/renderer.php
question/type/shortanswer/simpletest/testquestion.php
question/type/shortanswer/simpletest/testquestiontype.php
question/type/simpletest/testquestionbase.php
question/type/simpletest/testquestiontype.php
question/type/truefalse/backup/moodle2/backup_qtype_truefalse_plugin.class.php
question/type/truefalse/backup/moodle2/restore_qtype_truefalse_plugin.class.php
question/type/truefalse/edit_truefalse_form.php
question/type/truefalse/lang/en/qtype_truefalse.php
question/type/truefalse/lib.php
question/type/truefalse/question.php
question/type/truefalse/questiontype.php
question/type/truefalse/renderer.php
question/type/truefalse/simpletest/testquestion.php
question/type/truefalse/simpletest/testquestiontype.php
question/type/truefalse/version.php
question/upgrade.php