From: gustav_delius Date: Fri, 24 Mar 2006 20:44:13 +0000 (+0000) Subject: These are no longer needed because the backup functions are part of the questiontype... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5c2447494d59a6471a3f2879086a3a85b84e75bf;p=moodle.git These are no longer needed because the backup functions are part of the questiontype classes now. --- diff --git a/question/type/multichoice/backuplib.php b/question/type/multichoice/backuplib.php deleted file mode 100644 index b6c65c9ff6..0000000000 --- a/question/type/multichoice/backuplib.php +++ /dev/null @@ -1,28 +0,0 @@ -layout)); - fwrite ($bf,full_tag("ANSWERS",$level+1,false,$multichoice->answers)); - fwrite ($bf,full_tag("SINGLE",$level+1,false,$multichoice->single)); - fwrite ($bf,full_tag("SHUFFLEANSWERS",$level+1,false,$randomsamatch->shuffleanswers)); - $status = fwrite ($bf,end_tag("MULTICHOICE",$level,true)); - } - //Now print question_answers - if ($include_answers) { - $status = question_backup_answers($bf,$preferences,$question); - } - } - return $status; - } -?> diff --git a/question/type/shortanswer/backuplib.php b/question/type/shortanswer/backuplib.php deleted file mode 100644 index bb6d4fd5f1..0000000000 --- a/question/type/shortanswer/backuplib.php +++ /dev/null @@ -1,26 +0,0 @@ -answers)); - fwrite ($bf,full_tag("USECASE",$level+1,false,$shortanswer->usecase)); - $status = fwrite ($bf,end_tag("SHORTANSWER",$level,true)); - } - //Now print question_answers - if ($include_answers) { - $status = question_backup_answers($bf,$preferences,$question); - } - } - return $status; - } -?>