mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 09:02:07 +01:00
MDL-20636 qtype_numerical oops, I deleted a function from the wrong place. Fix.
This commit is contained in:
parent
5073fb743f
commit
d1de533164
@ -340,4 +340,13 @@ abstract class restore_qtype_plugin extends restore_plugin {
|
||||
|
||||
return $contents;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns one array with filearea => mappingname elements for the qtype
|
||||
*
|
||||
* Used by {@link get_components_and_fileareas} to know about all the qtype- * files to be processed both in backup and restore.
|
||||
*/
|
||||
public static function get_qtype_fileareas() {
|
||||
// By default, return empty array, only qtypes having own fileareas wil- return array();
|
||||
}
|
||||
}
|
||||
|
@ -75,14 +75,4 @@ class backup_qtype_numerical_plugin extends backup_qtype_plugin {
|
||||
|
||||
return $plugin;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns one array with filearea => mappingname elements for the qtype
|
||||
*
|
||||
* Used by {@link get_components_and_fileareas} to know about all the qtype
|
||||
* files to be processed both in backup and restore.
|
||||
*/
|
||||
public static function get_qtype_fileareas() {
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
@ -54,7 +54,6 @@ class restore_qtype_numerical_plugin extends restore_qtype_plugin {
|
||||
$elepath = $this->get_pathfor('/numerical_records/numerical_record');
|
||||
$paths[] = new restore_path_element($elename, $elepath);
|
||||
|
||||
|
||||
return $paths; // And we return the interesting paths
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user